<?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: Splitting up into multiple CSV files based on column values then FTP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253481#M36802</link>
    <description>Hi,
&lt;BR /&gt;Can anyone explain how to merge different schema csv files into a single csv file?
&lt;BR /&gt;I have 4 different files with different headers and one column is common in 4 files. I want all four files data into one with all distinct columns.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Asha</description>
    <pubDate>Mon, 04 Jul 2016 08:35:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-04T08:35:06Z</dc:date>
    <item>
      <title>Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253475#M36796</link>
      <description>Hi,
&lt;BR /&gt;I can see there's an option to split files up based on row counts, is it possible to split based on value(s) in a column (varchar, dynamic list driven from table)?
&lt;BR /&gt;These values then will appear in file name also - ie. YYMMDD_RED.csv, YYMMDD_YELLOW.csv, YYMMDD_GREEN.csv - assuming colour is my column here that i want to split records into separate files, many records being red, yellow, and green.
&lt;BR /&gt;As an aside, previous attempts to FTP I used FTP repository to specify credentials to put files on FTP. Is it possible to set this via contexts? - which can be set by values at database/file. I was slightly bemused when it came to password, as it didn't seem feasible to type in a context variable in here.
&lt;BR /&gt;Regards,
&lt;BR /&gt;John</description>
      <pubDate>Tue, 10 Nov 2015 17:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253475#M36796</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-11-10T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253476#M36797</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;These values then will appear in file name also - ie. YYMMDD_RED.csv, YYMMDD_YELLOW.csv, YYMMDD_GREEN.csv - assuming colour is my column here that i want to split records into separate files, many records being red, yellow, and green.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values? 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;As an aside, previous attempts to FTP I used FTP repository to specify credentials to put files on FTP. Is it possible to set this via contexts? - which can be set by values at database/file. I was slightly bemused when it came to password, as it didn't seem feasible to type in a context variable in here.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Do you want to mask your password on FTP connection? Please take a look at a related scenario in component reference:
&lt;BR /&gt;
&lt;A href="https://help.talend.com/search/all?query=tContextLoad&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tContextLoad&lt;/A&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 12 Nov 2015 08:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253476#M36797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T08:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253477#M36798</link>
      <description>I want to use contexts to set the FTPGet component.
&lt;BR /&gt;The other example was an example, not using real data but can be applied universally.
&lt;BR /&gt;Imagine this as a table
&lt;BR /&gt;Car number&amp;nbsp;&amp;nbsp; Colour
&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Red
&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yellow
&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yellow
&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Green
&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Green
&lt;BR /&gt;So car number 1 should appear in red file.
&lt;BR /&gt;2&amp;amp;3 for yellow file.
&lt;BR /&gt;4&amp;amp;5 in Green file.
&lt;BR /&gt;Imagine colour is a dynamic list that could change, driven by table data - hence want to split files dynamically based on column values
&lt;BR /&gt;Many thanks in advance.</description>
      <pubDate>Thu, 12 Nov 2015 17:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253477#M36798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T17:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253478#M36799</link>
      <description>Hi,&lt;BR /&gt;I have a huge csv file with date column(dd-mm-yyyy).&amp;nbsp;&lt;BR /&gt;I would like to generate multiple files for each year. &amp;nbsp;For example all 2016 data has to store in 2016 folder and 2015 year data has to store in 2015 folder automatically and so on for all the years.&lt;BR /&gt;It is urgent...PLz help me on this.&lt;BR /&gt;Regards,&lt;BR /&gt;Asha</description>
      <pubDate>Tue, 28 Jun 2016 14:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253478#M36799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T14:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253479#M36800</link>
      <description>The easiest way is to open n times your file, not very efficient bur pretty simple&lt;BR /&gt;1)you get all the years, uniq those years,&amp;nbsp;then&amp;nbsp;you iterate (tflowtoiterate)&lt;BR /&gt;At this point you have an iteration for each different year in your csv&lt;BR /&gt;2) you put the year in a variable, then you reopen your file&amp;nbsp;and filter on the year you need, and when you write on your files, you just have to put your variable in the file path.&amp;nbsp;&lt;BR /&gt;could be something like&lt;BR /&gt;&lt;BR /&gt;tFileInputDelimited&lt;BR /&gt;tUniqRow&lt;BR /&gt;tFlowToIterate&lt;BR /&gt;Tjava or TSetGlobalVar&lt;BR /&gt;tFileInputDelimited&lt;BR /&gt;tFilterRow&lt;BR /&gt;tFileOutputDelimited&lt;BR /&gt;If you have anyquestion let me know</description>
      <pubDate>Tue, 28 Jun 2016 14:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253479#M36800</guid>
      <dc:creator>Franz3</dc:creator>
      <dc:date>2016-06-28T14:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253480#M36801</link>
      <description>This tutorial demonstrates how to do this with a simple bit of code 
&lt;BR /&gt; 
&lt;A href="https://www.rilhia.com/tutorials/load-data-dynamic-number-files" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/tutorials/load-data-dynamic-number-files&lt;/A&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253480#M36801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T14:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253481#M36802</link>
      <description>Hi,
&lt;BR /&gt;Can anyone explain how to merge different schema csv files into a single csv file?
&lt;BR /&gt;I have 4 different files with different headers and one column is common in 4 files. I want all four files data into one with all distinct columns.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Asha</description>
      <pubDate>Mon, 04 Jul 2016 08:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253481#M36802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T08:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253482#M36803</link>
      <description>This isn't really related to the original question. However you can do this with a tMap. The column that is common between all of the csv files should be used as the join.&amp;nbsp;</description>
      <pubDate>Mon, 04 Jul 2016 08:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253482#M36803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T08:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253483#M36804</link>
      <description>Hi rhall,
&lt;BR /&gt;Thank you for your quick response.
&lt;BR /&gt;Is there any other alternative without using tmap component can we join all csv files as a single file?
&lt;BR /&gt;Because i need all files data &amp;nbsp;in a single file/ If I join all files then it will give only matched columns.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Asha</description>
      <pubDate>Mon, 04 Jul 2016 12:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253483#M36804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T12:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253484#M36805</link>
      <description>There is an easy solution to this, but maybe not the most efficient (It would be easier to solve with access to the files). If you know that some rows will not match in some files, but you want them all, then you could add a pre-processing step to create another file with all of the keys from all files. Then use that file as your driving (Main) file input and join in all of the others.&amp;nbsp;</description>
      <pubDate>Mon, 04 Jul 2016 13:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253484#M36805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T13:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253485#M36806</link>
      <description>Hi, 
&lt;BR /&gt;Can any one help me on this. 
&lt;BR /&gt;I am getting&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;"Preview Error. Some settings must be changed".&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Below is the detailed error:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; com.talend cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; com.talend cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; com.talend.csv.CSVWriter cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; org.talend cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; org.talend cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; com.talend cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; com.talend cannot be resolved to a type&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; at bench1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.tFileInputDelimitedProcess(ShadowFileInputToDelimitedOutput.java:596)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; at bench1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.runJobInTOS(ShadowFileInputToDelimitedOutput.java:1013)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt; at bench1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.main(ShadowFileInputToDelimitedOutput.java:894)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Preview error. Some settings must be changed.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Note: Preview errors are generally due to a wrong encoding setting.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1309)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Kind Regards,&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Asha&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 13 Jul 2016 06:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253485#M36806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-13T06:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting up into multiple CSV files based on column values then FTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253486#M36807</link>
      <description>Hi,&lt;BR /&gt;How to filter data dynamically during run time based on column and it's value?(I will give column name and it's value during batch file execution)&lt;BR /&gt;Can any one share some suggestions on this?&lt;BR /&gt;Regards,&lt;BR /&gt;Asha</description>
      <pubDate>Fri, 12 Aug 2016 12:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Splitting-up-into-multiple-CSV-files-based-on-column-values-then/m-p/2253486#M36807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-12T12:33:22Z</dc:date>
    </item>
  </channel>
</rss>

