<?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: Split a file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243871#M30217</link>
    <description>I already managed to write different files, but now I want those who do not fulfill the condition, NOT to occupy unnecessary lines.&lt;BR /&gt;Thanks!</description>
    <pubDate>Tue, 18 Dec 2018 18:11:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-18T18:11:59Z</dc:date>
    <item>
      <title>Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243862#M30208</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a delimited flat file of 1000 lines, I want to divide it into 3 files, depending on the value of column 0, how do I do this? If the value of column 0 is == 1, go to a file; if the value is == 2 it goes to another file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243862#M30208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T16:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243863#M30209</link>
      <description>&lt;P&gt;First solution, 1 tMap with 3 output flow and the appropriate filter expression for each.&lt;/P&gt;
&lt;P&gt;Second solution, 1 tFilterRow to separate records for file 1, then a second one to separate records for file 2 and 3.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243863#M30209</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-12-18T16:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243864#M30210</link>
      <description>&lt;P&gt;something I forgot to mention is that those that are type 1 and type 3 have fewer fields than type 2, does this affect?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 17:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243864#M30210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T17:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243865#M30211</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20181218_122720.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1aO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148985iBDB24046291EE344/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1aO.png" alt="0683p000009M1aO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;when I execute it, a Null Pointer error is generated&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 17:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243865#M30211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T17:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243866#M30212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; It seems your Column0 is having null values. Could you please modify the code as below to handle the null scenario?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Relational.ISNULL(row1.Column0)? null : ((row1.Column0==1) ? row1.Column0 : null)&lt;/PRE&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 17:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243866#M30212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T17:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243867#M30213</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already managed to write different files, but now I want those who do not fulfill the condition, NOT to occupy unnecessary lines.&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 17:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243867#M30213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T17:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243868#M30214</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The tmap says that your Column0 is not nullable. I hope you have checked the input data is not having any null value for Column0. Also I hope you are not picking any null rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; If you have checked both these conditions, then you will have to check the functions. Somewhere you are passing the value as&amp;nbsp; null.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 18:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243868#M30214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T18:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243869#M30215</link>
      <description>&lt;P&gt;I already managed to write different files, but now I want those who do not fulfill the condition, NOT to occupy unnecessary lines.&lt;BR /&gt;Thanks!&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20181218_130610.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1nW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128696i282CAF67196A0803/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1nW.png" alt="0683p000009M1nW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 18:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243869#M30215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T18:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243870#M30216</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Either you can add an null check expression in your output area so that it will not write the empty data. Or you can avoid them by filtering later using a tfilterrow component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 18:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243870#M30216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T18:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243871#M30217</link>
      <description>I already managed to write different files, but now I want those who do not fulfill the condition, NOT to occupy unnecessary lines.&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 18 Dec 2018 18:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243871#M30217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243872#M30218</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Are you saying that you are still facing the issue? I hope my previous post solves your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 18:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243872#M30218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T18:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Split a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243873#M30219</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt; 
&lt;P&gt;This is the solution to my problem&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20181218_160213.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1nb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129390i16523B0BED99D8FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1nb.png" alt="0683p000009M1nb.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 21:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-file/m-p/2243873#M30219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T21:03:27Z</dc:date>
    </item>
  </channel>
</rss>

