<?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: tRedshiftRow_5 - [Amazon](500310) Invalid operation: This type of correlated subquery pattern is not supported due to internal error; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRedshiftRow-5-Amazon-500310-Invalid-operation-This-type-of/m-p/2352343#M118756</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is very hard to visual debug dynamic code without real structure and code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but what I do all the time&amp;nbsp;when meets with similar issues - instead of tRedshiftRow put tJavaRow and print result code with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System.out.println&amp;nbsp;(&lt;STRONG&gt;all your code there&lt;/STRONG&gt;);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then try to run result code over the database, this is help in most of the cases&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers, Vlad&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2019 13:30:31 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-06-05T13:30:31Z</dc:date>
    <item>
      <title>tRedshiftRow_5 - [Amazon](500310) Invalid operation: This type of correlated subquery pattern is not supported due to internal error;</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRedshiftRow-5-Amazon-500310-Invalid-operation-This-type-of/m-p/2352342#M118755</link>
      <description>&lt;P&gt;I have a sql query that i am having issues executing inside my etl job:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"delete" + context.Redshift_data_lake_venus + "." + context.cntx_destination_table_name + " where lngGameHistory in (select b.lngGameHistory from " + context.Redshift_data_lake_venus + ".idbs_tblgamehistory b where " + context.cntx_date_filter_name + " &amp;gt;= '" + context.cntx_date_id_begin + "' and " + context.cntx_date_filter_name + " &amp;lt;= '" + context.cntx_date_id_end + "' )"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I can execute the hardcoded subquery in redshift but its not working in my etl job&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The error is as follows: tRedshiftRow_5 - Amazon Invalid operation: This type of correlated subquery pattern is not supported due to internal error; Amazon Invalid operation: This type of correlated subquery pattern is not supported due to internal error;[FATAL]: tgtimdagamespos.job_incremental_idbs_tblgamehistorybay_6_0.job_Incremental_IDBS_TblGameHistoryBay - tMSSqlInput_1 Incorrect syntax near 'a'.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someone advice me on what i am doing wrong? How the code should be modified?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 21:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRedshiftRow-5-Amazon-500310-Invalid-operation-This-type-of/m-p/2352342#M118755</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2019-06-04T21:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: tRedshiftRow_5 - [Amazon](500310) Invalid operation: This type of correlated subquery pattern is not supported due to internal error;</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRedshiftRow-5-Amazon-500310-Invalid-operation-This-type-of/m-p/2352343#M118756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is very hard to visual debug dynamic code without real structure and code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but what I do all the time&amp;nbsp;when meets with similar issues - instead of tRedshiftRow put tJavaRow and print result code with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System.out.println&amp;nbsp;(&lt;STRONG&gt;all your code there&lt;/STRONG&gt;);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then try to run result code over the database, this is help in most of the cases&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers, Vlad&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 13:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRedshiftRow-5-Amazon-500310-Invalid-operation-This-type-of/m-p/2352343#M118756</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-06-05T13:30:31Z</dc:date>
    </item>
  </channel>
</rss>

