<?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: tRedshiftUnload - Creates Empty Name S3 Object and Multiple Empty Files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRedshiftUnload-Creates-Empty-Name-S3-Object-and-Multiple-Empty/m-p/2302688#M74641</link>
    <description>&lt;P&gt;You can check number of rows (0 or more) before unload data&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tRedshiftInput (schema - single column cnt (INTEGER) )&lt;/P&gt; 
&lt;PRE&gt;SELECT 
      CASE WHEN EXIT (SELECT .....) THEN
     1
ELSE
     0
END as cnt&lt;/PRE&gt; 
&lt;P&gt;than use runIf trigger&lt;/P&gt; 
&lt;P&gt;if row1.cnt == 1 -&amp;gt; Unload data&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;EXISTS work very fast - it stop work after first funded rows&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 08:02:24 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2017-08-17T08:02:24Z</dc:date>
    <item>
      <title>tRedshiftUnload - Creates Empty Name S3 Object and Multiple Empty Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRedshiftUnload-Creates-Empty-Name-S3-Object-and-Multiple-Empty/m-p/2302687#M74640</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Trying to figure out how to configure this tool further or if it is possible to do so.&lt;/P&gt;&lt;P&gt;I would like to prevent the tool&amp;nbsp;from creating an empty name S3 Object regardless of what I put into the S3 Settings of the tool. My example shows that I am successfully creating content out on S3. But see the screenshots of my S3 Settings and the S3 buckets. I would like the tool to not create empty files or the empty directory name. My query in this sample returns 1 record of two fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRedshiftUnload-Creates-Empty-Name-S3-Object-and-Multiple-Empty/m-p/2302687#M74640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: tRedshiftUnload - Creates Empty Name S3 Object and Multiple Empty Files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRedshiftUnload-Creates-Empty-Name-S3-Object-and-Multiple-Empty/m-p/2302688#M74641</link>
      <description>&lt;P&gt;You can check number of rows (0 or more) before unload data&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tRedshiftInput (schema - single column cnt (INTEGER) )&lt;/P&gt; 
&lt;PRE&gt;SELECT 
      CASE WHEN EXIT (SELECT .....) THEN
     1
ELSE
     0
END as cnt&lt;/PRE&gt; 
&lt;P&gt;than use runIf trigger&lt;/P&gt; 
&lt;P&gt;if row1.cnt == 1 -&amp;gt; Unload data&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;EXISTS work very fast - it stop work after first funded rows&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 08:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRedshiftUnload-Creates-Empty-Name-S3-Object-and-Multiple-Empty/m-p/2302688#M74641</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-08-17T08:02:24Z</dc:date>
    </item>
  </channel>
</rss>

