<?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 Re: java.lang.Exception: Error! TABLE parameter '__GROUPBY__' doesn't exist in component tSQLTemplateMerge. Maybe you are using a sqlpattern that isn't applicable in tSQLTemplateMerge_1. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-Exception-Error-TABLE-parameter-GROUPBY-doesn-t-exist/m-p/2299924#M72211</link>
    <description>&lt;P&gt;Can you post the details of how you configured the&amp;nbsp;&lt;SPAN&gt;tSQLTemplateMerge&amp;nbsp;component and any SQL you are using?&amp;nbsp; Can you post a screen shot of your job?&amp;nbsp; It looks like it is logging some rows correctly after the error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suspect Talend is sending SQL with syntax related to "group by" that is not supported by SQL Server 2016.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is variable called "QUERY" in the component.&amp;nbsp; You could print that out to see the exact SQL that is being sent.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You could print it out in a tJavaRow component.&amp;nbsp; Assuming your component is called&amp;nbsp;tSQLTemplateMerge_1:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;System.out.println((String)globalMap.get("tSQLTemplateMerge_1_QUERY"));&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 May 2019 04:27:04 GMT</pubDate>
    <dc:creator>nfz11</dc:creator>
    <dc:date>2019-05-12T04:27:04Z</dc:date>
    <item>
      <title>java.lang.Exception: Error! TABLE parameter '__GROUPBY__' doesn't exist in component tSQLTemplateMerge. Maybe you are using a sqlpattern that isn't applicable in tSQLTemplateMerge_1.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-Exception-Error-TABLE-parameter-GROUPBY-doesn-t-exist/m-p/2299923#M72210</link>
      <description>&lt;P&gt;Hello everyone, I am relatively new to Talend and have my first problem now. I have built an example job to transport data from one database to another. The database connection and the first step works fine. Now I get the error message with the tSQLTemplateMerge:&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;java.lang.Exception: Error! TABLE parameter '__GROUPBY__' doesn't exist in component tSQLTemplateMerge. Maybe you are using a sqlpattern that isn't applicable in tSQLTemplateMerge_1.&amp;nbsp;Maybe you are using a sqlpattern that isn't applicable in tSQLTemplateMerge_1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do any of you know why? I'm using a SQL 2016 server (possibly the problem here)?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Many thanks for your help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErrorTalend.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4W0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138010i8EFC40DF9E9B7EF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4W0.png" alt="0683p000009M4W0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 13:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-Exception-Error-TABLE-parameter-GROUPBY-doesn-t-exist/m-p/2299923#M72210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-09T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.Exception: Error! TABLE parameter '__GROUPBY__' doesn't exist in component tSQLTemplateMerge. Maybe you are using a sqlpattern that isn't applicable in tSQLTemplateMerge_1.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-Exception-Error-TABLE-parameter-GROUPBY-doesn-t-exist/m-p/2299924#M72211</link>
      <description>&lt;P&gt;Can you post the details of how you configured the&amp;nbsp;&lt;SPAN&gt;tSQLTemplateMerge&amp;nbsp;component and any SQL you are using?&amp;nbsp; Can you post a screen shot of your job?&amp;nbsp; It looks like it is logging some rows correctly after the error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suspect Talend is sending SQL with syntax related to "group by" that is not supported by SQL Server 2016.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is variable called "QUERY" in the component.&amp;nbsp; You could print that out to see the exact SQL that is being sent.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You could print it out in a tJavaRow component.&amp;nbsp; Assuming your component is called&amp;nbsp;tSQLTemplateMerge_1:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;System.out.println((String)globalMap.get("tSQLTemplateMerge_1_QUERY"));&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 04:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-Exception-Error-TABLE-parameter-GROUPBY-doesn-t-exist/m-p/2299924#M72211</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-05-12T04:27:04Z</dc:date>
    </item>
  </channel>
</rss>

