<?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 Read and Write to the Same CSV file Possible ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-and-Write-to-the-Same-CSV-file-Possible/m-p/2341471#M109423</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EboAQAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153322i3F939B23E478DC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EboAQAAZ.png" alt="0695b00000EboAQAAZ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i read and write to the same filename it is giving 0 rows&lt;/P&gt;&lt;P&gt;but if i write on a new file it's working &lt;/P&gt;&lt;P&gt;UseCase: csv1 = holds the initial value Date &amp;gt;&amp;gt;&amp;gt; after run the csv1 should have the updated value Current RunDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i disable the tFileOutput for the meantime i am seeing the expected value&lt;/P&gt;&lt;P&gt;or if i assign it to a new file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:11:21 GMT</pubDate>
    <dc:creator>GheZaide</dc:creator>
    <dc:date>2024-11-16T00:11:21Z</dc:date>
    <item>
      <title>Read and Write to the Same CSV file Possible ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-and-Write-to-the-Same-CSV-file-Possible/m-p/2341471#M109423</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000EboAQAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153322i3F939B23E478DC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000EboAQAAZ.png" alt="0695b00000EboAQAAZ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i read and write to the same filename it is giving 0 rows&lt;/P&gt;&lt;P&gt;but if i write on a new file it's working &lt;/P&gt;&lt;P&gt;UseCase: csv1 = holds the initial value Date &amp;gt;&amp;gt;&amp;gt; after run the csv1 should have the updated value Current RunDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i disable the tFileOutput for the meantime i am seeing the expected value&lt;/P&gt;&lt;P&gt;or if i assign it to a new file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-and-Write-to-the-Same-CSV-file-Possible/m-p/2341471#M109423</guid>
      <dc:creator>GheZaide</dc:creator>
      <dc:date>2024-11-16T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Read and Write to the Same CSV file Possible ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-and-Write-to-the-Same-CSV-file-Possible/m-p/2341472#M109424</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;The tFileOutputDelimited will create an empty file with the same file name before the file is read,  that's why 0 rows are read from the file, about the code generation model, you can refer to this &lt;A href="https://help.talend.com/r/TOI27xbqXMpvbDuWTdnVoQ/knYGp5XGdqtnsCCzAge0eQ" alt="https://help.talend.com/r/TOI27xbqXMpvbDuWTdnVoQ/knYGp5XGdqtnsCCzAge0eQ" target="_blank"&gt;page &lt;/A&gt;on Talend Help Center. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround, cache the data into memory and read the data back in next subjob, eg:&lt;/P&gt;&lt;P&gt;tFileInputDelimited--tJavaRow--tHashOutput&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput--main--tFileOutputDelimited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 04:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-and-Write-to-the-Same-CSV-file-Possible/m-p/2341472#M109424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-06T04:53:37Z</dc:date>
    </item>
  </channel>
</rss>

