<?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: Need to update date if row changes in file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238845#M26828</link>
    <description>Hi Nikhil, 
&lt;BR /&gt;Thanks for your reply. 
&lt;BR /&gt;As said I already Donne that thing,which will take more time in joining if records are more. 
&lt;BR /&gt; 
&lt;BR /&gt;Can you please provide any alternate solution that only modified date will only change if old records get updated 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Ram</description>
    <pubDate>Fri, 19 Jul 2019 18:20:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-19T18:20:19Z</dc:date>
    <item>
      <title>Need to update date if row changes in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238843#M26826</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;below is my input data:&lt;/P&gt; 
&lt;P&gt;id,name&lt;BR /&gt;1,ramu&lt;BR /&gt;2,rah&lt;BR /&gt;3,afaAaa&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;output data for 1st load:&lt;BR /&gt;id,name,created_date,modified_date&lt;BR /&gt;1,ramu,18-07-2019,18-07-2019&lt;BR /&gt;2,rah,18-07-2019,18-07-2019&lt;BR /&gt;3,afaAaa,18-07-2019,18-07-2019&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;My input data have some modifications(1 row update and 2 rows insert) as below&lt;/P&gt; 
&lt;P&gt;id,name&lt;BR /&gt;1,ramu&lt;BR /&gt;2,rah&lt;BR /&gt;3,afa&lt;BR /&gt;4,SADASE&lt;BR /&gt;5,akda&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;So output should be as below:&lt;BR /&gt;id,name,created_date,modified_date&lt;BR /&gt;1,ramu,18-07-2019,18-07-2019&lt;BR /&gt;2,rah,18-07-2019,18-07-2019&lt;BR /&gt;3,afa,18-07-2019,19-07-2019&lt;BR /&gt;4,SADASE,19-07-2019,19-07-2019&lt;BR /&gt;5,akda,19-07-2019,19-07-2019&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;The rows which are not changed/updated should not have in the change of modified_date.&lt;BR /&gt;I have done this by taking lookup of output table with input file which is taking very long time.&lt;BR /&gt;Can you please help on alternate solution&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238843#M26826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to update date if row changes in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238844#M26827</link>
      <description>&lt;P&gt;Hi Ram,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Since you already know the ids of the lookup data, do not pull the entire data of the table in lookup. First do an insert of new data to a temp table. For the lookup, do an inner join of the id of temp table with your lookup table so that you are picking only matched records instead of full table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can do it my adding join conditions in the SQL query of tDBinput for lookup. In the tMap join, use left out join for the main flow with your new lookup and add the condition that if the data id is present in lookup, use the date from lookup else add current system date. This should resolve your issue. If the issue persists, please share the screenshot with these changes and error and we will take it forward from there.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 18:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238844#M26827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-19T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need to update date if row changes in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238845#M26828</link>
      <description>Hi Nikhil, 
&lt;BR /&gt;Thanks for your reply. 
&lt;BR /&gt;As said I already Donne that thing,which will take more time in joining if records are more. 
&lt;BR /&gt; 
&lt;BR /&gt;Can you please provide any alternate solution that only modified date will only change if old records get updated 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Ram</description>
      <pubDate>Fri, 19 Jul 2019 18:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238845#M26828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-19T18:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need to update date if row changes in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238846#M26829</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; What is the input volume and how much time its currently taking for the query? Could you please share the execution plan details if the query is taking more time?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 18:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-update-date-if-row-changes-in-file/m-p/2238846#M26829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-19T18:49:52Z</dc:date>
    </item>
  </channel>
</rss>

