<?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] How to read data from a text file? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232311#M22318</link>
    <description>Thanks Vaibhav.</description>
    <pubDate>Mon, 10 Nov 2014 08:19:18 GMT</pubDate>
    <dc:creator>satyavar</dc:creator>
    <dc:date>2014-11-10T08:19:18Z</dc:date>
    <item>
      <title>[resolved] How to read data from a text file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232306#M22313</link>
      <description>Hi&lt;BR /&gt;I have a need to read the data from a text file in Query part of a table Input component in order to include the value from text file in Query.&lt;BR /&gt;Can someone please help me on how to retreive the value from text file and use it in Where clause of Query part (Not tFilterRow)&lt;BR /&gt;Best regards,&lt;BR /&gt;Kalyan</description>
      <pubDate>Tue, 04 Nov 2014 15:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232306#M22313</guid>
      <dc:creator>satyavar</dc:creator>
      <dc:date>2014-11-04T15:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to read data from a text file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232307#M22314</link>
      <description>This is pretty easy to do with Talend.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;One approach is to read from your file one row at a time and issue a query using the data retrieved from the file.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;To do this, we read from the file with a input component and attach its row output to a "tFlowToIterate" component. This component will iterate over every row of its input, putting the values of each row in the global map for us to use later. 
&lt;BR /&gt; 
&lt;BR /&gt;We then attach a database Input component with the "iterate" link from the tFlowToIterate. In the query, we use java concatenation to pushdown the value of the current iteration into the WHERE clause of the input component.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBRQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140887i83487DDAEF605216/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBRQ.png" alt="0683p000009MBRQ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBSE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133109iBCC81FDDECDEBFD0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBSE.png" alt="0683p000009MBSE.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBLm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155281i924B66609CCC0C67/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBLm.png" alt="0683p000009MBLm.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 04 Nov 2014 22:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232307#M22314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T22:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to read data from a text file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232308#M22315</link>
      <description>I am trying to read a date field value and assign it in to where clause of query part of an input table component. I am getting an incorrect syntax error while doing this.&lt;BR /&gt;My query part looks something like this:&lt;BR /&gt;"select col1, col2, col3dtCol fom tbName where col3dtCol &amp;gt; " + valreadfromtxtfile</description>
      <pubDate>Wed, 05 Nov 2014 00:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232308#M22315</guid>
      <dc:creator>satyavar</dc:creator>
      <dc:date>2014-11-05T00:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to read data from a text file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232309#M22316</link>
      <description>Hi, 
&lt;BR /&gt;You can set a context value for your parameter(valreadfromtxtfile) 
&lt;BR /&gt;Please see a related forum: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqS4CAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Reading-databases-with-parameters/td-p/108926&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 05 Nov 2014 04:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232309#M22316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-05T04:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to read data from a text file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232310#M22317</link>
      <description>Hi kalyan,&lt;BR /&gt;I think this is a duplicate thread...&lt;BR /&gt;try following&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;"select col1, col2, col3dtCol fom tbName where col3dtCol &amp;gt; '" + valreadfromtxtfile+"'"&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Vaibhav&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 05 Nov 2014 08:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232310#M22317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-05T08:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to read data from a text file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232311#M22318</link>
      <description>Thanks Vaibhav.</description>
      <pubDate>Mon, 10 Nov 2014 08:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-read-data-from-a-text-file/m-p/2232311#M22318</guid>
      <dc:creator>satyavar</dc:creator>
      <dc:date>2014-11-10T08:19:18Z</dc:date>
    </item>
  </channel>
</rss>

