<?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: Running Redshift multiple queries via Talend Open studio in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365204#M128835</link>
    <description>&lt;P&gt;Thanks Sabrina. I'm totally new in this area, could you please able to draw a rough design in studio and send me image. &lt;/P&gt;&lt;P&gt;Appreciate for your help&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 23:57:45 GMT</pubDate>
    <dc:creator>RS7</dc:creator>
    <dc:date>2021-09-07T23:57:45Z</dc:date>
    <item>
      <title>Running Redshift multiple queries via Talend Open studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365202#M128833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new to Talend. I'm using Talend open studio.&lt;/P&gt;&lt;P&gt;I have table in redshift which stores queries(DDL, DML) in a column. I want to bring that query column in Talend and execute them one by one.&lt;/P&gt;&lt;P&gt;If there is any error i want to save in a table and also want to write success/failure status to Redshift table.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365202#M128833</guid>
      <dc:creator>RS7</dc:creator>
      <dc:date>2024-11-15T23:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Running Redshift multiple queries via Talend Open studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365203#M128834</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can use tFlowToIterate to iterate each row which stores queries(DDL, DML) and a variable in the query of tMysqlInput_2.&lt;/P&gt;&lt;P&gt;The job design should be: tMysqlInput_1--row1--&amp;gt;tFlowToIterate----&amp;gt;iterate--&amp;gt;tMysqlInput_2---&amp;gt;output&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 09:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365203#M128834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-07T09:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Running Redshift multiple queries via Talend Open studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365204#M128835</link>
      <description>&lt;P&gt;Thanks Sabrina. I'm totally new in this area, could you please able to draw a rough design in studio and send me image. &lt;/P&gt;&lt;P&gt;Appreciate for your help&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 23:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365204#M128835</guid>
      <dc:creator>RS7</dc:creator>
      <dc:date>2021-09-07T23:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Running Redshift multiple queries via Talend Open studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365205#M128836</link>
      <description>&lt;P&gt;a simple job design is as below. &lt;/P&gt;&lt;P&gt;tRedshiftInput--main(row1)--tFlowToIterate--tRedshiftRow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the Query field:&lt;/P&gt;&lt;P&gt;(String)globalMap.get("row1.query")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: query is the column name defined on the schema of tRedshiftInput.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please make some testings and see if you are able to read the query from table and execute it on tRedshiftRow one by one. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 07:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365205#M128836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-08T07:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Running Redshift multiple queries via Talend Open studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365206#M128837</link>
      <description>&lt;P&gt;Thanks Shong.&lt;/P&gt;&lt;P&gt;My job is now running fine but when any error happen then tRedshiftRow is not going to OnComponentError side. For testing i'm inserting a row into a table that don't exist and expecting tRedshiftRow trigger onComponentError. I added image of my job below.  Basically i want to update audit table. If query execute fine then i want that update audit table as success and if query fail then mark that particular query record as failed. Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000JPq6WAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148806i6E994AF073096DE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000JPq6WAAT.png" alt="0695b00000JPq6WAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 09:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-Redshift-multiple-queries-via-Talend-Open-studio/m-p/2365206#M128837</guid>
      <dc:creator>RS7</dc:creator>
      <dc:date>2021-10-12T09:59:24Z</dc:date>
    </item>
  </channel>
</rss>

