<?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: [resolved] Importing text files into a csv in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236907#M25500</link>
    <description>As it is always interesting to see how a problem is solved, here is my complete project by components: 
&lt;BR /&gt;tFileList (exact name: tFileList_1): Directory chosen, all other settings are standard (right-click on the component to add an iterate row to connect with the next component) 
&lt;BR /&gt;tFileInputFullRow: Add ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) as Filename, Schema is only one column 
&lt;BR /&gt;tSampleRow: Extracts the rows needed in the further process 
&lt;BR /&gt;tDenormalize: Add the column to denormalize 
&lt;BR /&gt;tReplace (optional): I had to remove some strings to get only the data I needed 
&lt;BR /&gt;tFileOutputDelimited: Save as csv and activate append to have all in one file 
&lt;BR /&gt;That's it. If there is any other way out there that is more easy/flexible or whatsoever, just let me know. 
&lt;BR /&gt;Cheers!</description>
    <pubDate>Fri, 23 Nov 2012 14:10:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-23T14:10:19Z</dc:date>
    <item>
      <title>[resolved] Importing text files into a csv</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236903#M25496</link>
      <description>Hi,&lt;BR /&gt;I have 100 txt-files. Within these files, there are some rows I have to extract and copy to a csv. So the process should look like this pseudo-code:&lt;BR /&gt;FOR all files in a given folder (regardless of their name)&lt;BR /&gt;OPEN file_i&lt;BR /&gt;COPY rows 1,4,8&lt;BR /&gt;INSERT values into csv column 1,2,3&lt;BR /&gt;CLOSE file_i&lt;BR /&gt;NEXT&lt;BR /&gt;Is this possible with Talend Open Studio?&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 23 Nov 2012 08:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236903#M25496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-23T08:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Importing text files into a csv</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236904#M25497</link>
      <description>Yes, it is.&lt;BR /&gt;tFileList --iterate-- tFileInputDelimited ----&amp;gt; Tmap -----&amp;gt; tFileOutputDelimited&lt;BR /&gt;In the tMap, you will choose your columns 1, 4, 8 to insert to your csv file.</description>
      <pubDate>Fri, 23 Nov 2012 09:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236904#M25497</guid>
      <dc:creator>NicolasTT</dc:creator>
      <dc:date>2012-11-23T09:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Importing text files into a csv</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236905#M25498</link>
      <description>Ok, in the meantime I made some tests. When using your suggestion, I discover the following:
&lt;BR /&gt;***solved*** tFileList: I'm not able to this component to any Input component e.g. FileDelimited, who does this work?
&lt;BR /&gt;tFileInputDelimited: I used tFileInputFullRow, does that make any difference? 
&lt;BR /&gt;tMap: no matter what Input component I use, I only have one column and can't access rows directly (or am I missing the point?).
&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 23 Nov 2012 10:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236905#M25498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-23T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Importing text files into a csv</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236906#M25499</link>
      <description>So after doing some more testing I have the process set up, but the only thing that is not working is the tMap component. Problem is, that I have only 1 column imported and do not know how to access a given row within that column to map this to a column in my csv? Maybe it helps to understand that my input file is pure text (html) and not comma separated.
&lt;BR /&gt;EDIT: using the tDenormalize component, I was able to solve this.</description>
      <pubDate>Fri, 23 Nov 2012 10:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236906#M25499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-23T10:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Importing text files into a csv</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236907#M25500</link>
      <description>As it is always interesting to see how a problem is solved, here is my complete project by components: 
&lt;BR /&gt;tFileList (exact name: tFileList_1): Directory chosen, all other settings are standard (right-click on the component to add an iterate row to connect with the next component) 
&lt;BR /&gt;tFileInputFullRow: Add ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) as Filename, Schema is only one column 
&lt;BR /&gt;tSampleRow: Extracts the rows needed in the further process 
&lt;BR /&gt;tDenormalize: Add the column to denormalize 
&lt;BR /&gt;tReplace (optional): I had to remove some strings to get only the data I needed 
&lt;BR /&gt;tFileOutputDelimited: Save as csv and activate append to have all in one file 
&lt;BR /&gt;That's it. If there is any other way out there that is more easy/flexible or whatsoever, just let me know. 
&lt;BR /&gt;Cheers!</description>
      <pubDate>Fri, 23 Nov 2012 14:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Importing-text-files-into-a-csv/m-p/2236907#M25500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-23T14:10:19Z</dc:date>
    </item>
  </channel>
</rss>

