<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Compilation Error in tIcebergOutput: &amp;quot;Duplicate local variable schemaArray&amp;quot; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/m-p/2547210#M149507</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm encountering a compilation error when trying to use the &lt;STRONG&gt;tIcebergOutput&lt;/STRONG&gt; component in a Talend Job (Job Name: Talend_AWS).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt; The Job fails to build/run with a ProcessorException. Upon inspecting the generated Java code, I found that a local variable named schemaArray is being declared multiple times within the same method, causing a "Duplicate local variable" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps taken:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I checked the "Code" tab in Talend and confirmed that schemaArray is indeed duplicated in the generated source.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I tried to refresh the schema and propagate changes again, but the issue persists.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone encountered this bug with the Iceberg components? Is there a known workaround?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fmrepetto_0-1776466120142.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187876i10C93E066C83F9AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fmrepetto_0-1776466120142.png" alt="fmrepetto_0-1776466120142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2026 22:54:35 GMT</pubDate>
    <dc:creator>fmrepetto</dc:creator>
    <dc:date>2026-04-17T22:54:35Z</dc:date>
    <item>
      <title>Compilation Error in tIcebergOutput: "Duplicate local variable schemaArray"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/m-p/2547210#M149507</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm encountering a compilation error when trying to use the &lt;STRONG&gt;tIcebergOutput&lt;/STRONG&gt; component in a Talend Job (Job Name: Talend_AWS).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt; The Job fails to build/run with a ProcessorException. Upon inspecting the generated Java code, I found that a local variable named schemaArray is being declared multiple times within the same method, causing a "Duplicate local variable" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps taken:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I checked the "Code" tab in Talend and confirmed that schemaArray is indeed duplicated in the generated source.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I tried to refresh the schema and propagate changes again, but the issue persists.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone encountered this bug with the Iceberg components? Is there a known workaround?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fmrepetto_0-1776466120142.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187876i10C93E066C83F9AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fmrepetto_0-1776466120142.png" alt="fmrepetto_0-1776466120142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 22:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/m-p/2547210#M149507</guid>
      <dc:creator>fmrepetto</dc:creator>
      <dc:date>2026-04-17T22:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Error in tIcebergOutput: "Duplicate local variable schemaArray"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/m-p/2547311#M149509</link>
      <description>&lt;P&gt;The "Duplicate local variable schemaArray" error in the tIcebergOutput component is a known issue reported in the &lt;A href="https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/td-p/2547210" target="_blank"&gt;Qlik Community&lt;/A&gt;. It occurs because the auto-generated Java code incorrectly declares the same variable multiple times within a single method scope.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While a permanent fix typically requires a software patch from Talend/Qlik, you can attempt the following workarounds to resolve the compilation failure:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Recommended Workarounds&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Rename Input/Output Columns:&lt;/STRONG&gt; This error sometimes stems from naming conflicts in the schema. Check if any columns in your tIcebergOutput or preceding tMap have identical or very similar names that might trigger redundant code generation.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Toggle Schema Mode:&lt;/STRONG&gt;
  &lt;OL&gt;
   &lt;LI&gt;Open the &lt;A href="https://help.qlik.com/talend/en-US/components/8.0/amazon-aurora/tamazonauroraoutput" target="_blank"&gt;tIcebergOutput component settings&lt;/A&gt; and switch the &lt;STRONG&gt;Schema&lt;/STRONG&gt; from "Repository" to "Built-in".&lt;/LI&gt;
   &lt;LI&gt;Click &lt;STRONG&gt;Edit Schema&lt;/STRONG&gt;, manually remove all columns, and then re-add or propagate them again to force a clean code generation.&lt;/LI&gt;
  &lt;/OL&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Simplify the Data Flow:&lt;/STRONG&gt; If the job contains complex transformations or multiple tIcebergOutput components in the same sub-job, try breaking them into separate sub-jobs using tRunJob. This limits the scope of generated variables in a single Java method.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Check for Latest Patches:&lt;/STRONG&gt; Similar "Duplicate local variable" bugs in other components (like SQL templates) have historically been fixed in specific monthly &lt;A href="https://community.qlik.com/t5/Design-and-Development/Multiple-SQL-Statements-in-SQL-Template-gt-Duplicate-local/td-p/2374805" target="_blank"&gt;Talend patches&lt;/A&gt;. Ensure your &lt;A href="https://help.talend.com/r/en-US/8.0/studio-user-guide/handling-errors" target="_blank"&gt;Talend Studio&lt;/A&gt; is updated to the latest available version.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If these steps do not resolve the issue, it is recommended to follow the official Qlik Support thread (&lt;A href="https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/td-p/2547210" target="_blank"&gt;https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/td-p/2547210&lt;/A&gt;) for a formal bug fix, as this is an internal component code-generation error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 19:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compilation-Error-in-tIcebergOutput-quot-Duplicate-local/m-p/2547311#M149509</guid>
      <dc:creator>Greg_Taffer</dc:creator>
      <dc:date>2026-04-20T19:49:13Z</dc:date>
    </item>
  </channel>
</rss>

