<?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: Extract sample rows from delimited input file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357376#M122695</link>
    <description>&lt;P&gt;Thank you for these suggestions.  I did a different project that required a bit of similar logic and used a combination of global variables and a JavaRow component to pull in random numbers, determine if it was within the desired range, and then acted on it.   I could do the same with this implementation, but got excited when I read about a checkbox that did all of that 'out of the box'.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 12:57:09 GMT</pubDate>
    <dc:creator>JZMatrix1</dc:creator>
    <dc:date>2021-07-29T12:57:09Z</dc:date>
    <item>
      <title>Extract sample rows from delimited input file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357371#M122690</link>
      <description>&lt;P&gt;I'm trying to accomplish something similar to what is in &lt;A href="https://community.talend.com/s/feed/0D73p000004kMH3CAM" target="_blank"&gt;https://community.talend.com/s/feed/0D73p000004kMH3CAM&lt;/A&gt;, using TOS 7.3, and it seems as though the "Extract Line at Random" is no longer available for the tFileInputDelimited component.  The closest option I've been able to find is the tReservoirSampling component, which isn't available in TOS.   Does this functionality still exist within TOS 7.3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** I've been away from using Talend for a number of years, so finding the difference in 7.x since my last 5.x/6.x days **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357371#M122690</guid>
      <dc:creator>JZMatrix1</dc:creator>
      <dc:date>2024-11-15T23:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sample rows from delimited input file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357372#M122691</link>
      <description>&lt;P&gt;Hi, @Jason Ziemba​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use a Talend data Services platform 7.3 and I can find the extract lines at random in the advanced settings of the tFileInputDelimited.&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 13:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357372#M122691</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-27T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sample rows from delimited input file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357373#M122692</link>
      <description>&lt;P&gt;My IDE is the Talend Open Studio for Data Integration (7.3.1.20200219_1130).  Below is the screenshot of my tFileInputDelimited, advanced tab.  Unfortunately, the random line option seems to be omitted from this platform in the latest version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H97LWAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147864iE452ABF4159D68CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H97LWAAZ.png" alt="0695b00000H97LWAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357373#M122692</guid>
      <dc:creator>JZMatrix1</dc:creator>
      <dc:date>2021-07-27T14:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sample rows from delimited input file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357374#M122693</link>
      <description>&lt;P&gt;I think, you can  do this for example :&lt;/P&gt;&lt;P&gt;read the file sent it into a hash&lt;/P&gt;&lt;P&gt;get the globalMap NB_LINE generated by the fileInput component :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create a globalMap of type int with value :Numeric.random(1,the globalMap NB_LINE generated by the fileInput component)&lt;/P&gt;&lt;P&gt;then read the hash --&amp;gt; use tflowtoiterate--&amp;gt; use a tfilterRow with this condition (CURRENT_ITERATION == (your globalMap))&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357374#M122693</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-28T09:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sample rows from delimited input file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357375#M122694</link>
      <description>&lt;P&gt;you can also :&lt;/P&gt;&lt;P&gt;read the file, add a new field with a sequence , put into a hash read the NB_line&lt;/P&gt;&lt;P&gt;create a globalMap of type int with value :Numeric.random(1,the globalMap NB_LINE generated by the fileInput component)&lt;/P&gt;&lt;P&gt;read the hash &lt;/P&gt;&lt;P&gt;use a tfilterRow with this condition (field with sequence == (your globalMap))&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 12:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357375#M122694</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-29T12:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extract sample rows from delimited input file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357376#M122695</link>
      <description>&lt;P&gt;Thank you for these suggestions.  I did a different project that required a bit of similar logic and used a combination of global variables and a JavaRow component to pull in random numbers, determine if it was within the desired range, and then acted on it.   I could do the same with this implementation, but got excited when I read about a checkbox that did all of that 'out of the box'.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 12:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-sample-rows-from-delimited-input-file/m-p/2357376#M122695</guid>
      <dc:creator>JZMatrix1</dc:creator>
      <dc:date>2021-07-29T12:57:09Z</dc:date>
    </item>
  </channel>
</rss>

