<?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: Perform Read/Update/Delete on same table using tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345382#M112923</link>
    <description>&lt;P&gt;This sounds odd and that maybe your logic inside the job might need to be looked at. But I can help with regard to not being able to use the tHash components due to memory issues.  Take a look here (https://help.talend.com/r/en-US/8.0/open-studio-user-guide/specifying-limits-of-vm-memory-for-job-or-route) about increasing the memory available to the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On that note, I'd like to recommend you try using the tHSQLDB components. These create a database in memory for you to use. I have put together an example in this post (https://community.talend.com/s/feed/0D75b000005yRDCCA2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd start by changing the memory settings and attempting to load the data into the tHSQLDB components. Then check the data you are getting. &lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2023 17:18:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-02T17:18:36Z</dc:date>
    <item>
      <title>Perform Read/Update/Delete on same table using tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345380#M112921</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a following use-case that i am trying to implement using Talend DI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read the data from a source table, join it with a lookup table, update the source table with join-success results (Join:&lt;B&gt;inner&lt;/B&gt;) and finally delete the join-rejects from the source table and load it in other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current structure &lt;/P&gt;&lt;P&gt;                            LKP_TBL&lt;/P&gt;&lt;P&gt;                              |&lt;/P&gt;&lt;P&gt;                              |&lt;/P&gt;&lt;P&gt;&lt;B&gt;SRC_TBL&lt;/B&gt;----------tMap-----------&lt;B&gt;SRC_TABLE&lt;/B&gt; (Update operation on join results)&lt;/P&gt;&lt;P&gt;                              |&lt;/P&gt;&lt;P&gt;                              | {Inner Join Rejects }&lt;/P&gt;&lt;P&gt;                         tReplicate----------&lt;B&gt;SRC_TBL&lt;/B&gt;(Delete operation)&lt;/P&gt;&lt;P&gt;                              |&lt;/P&gt;&lt;P&gt;                              |&lt;/P&gt;&lt;P&gt;                           TGT_TBL2 (Insert operation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database use snowflake.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;When i am executing this flow, it is yielding weird results like some of the records are getting updated and some are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest a better architecture to implement this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note: I tried using tHashOutput , bust as the record set is huge, i am getting the java heap space issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 13:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345380#M112921</guid>
      <dc:creator>Daemon_demon</dc:creator>
      <dc:date>2023-02-02T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Read/Update/Delete on same table using tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345381#M112922</link>
      <description>&lt;P&gt;Due to formatting issue, i couldn't post the structure properly, please find the below image for reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000cgqS3AAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140507i984F38358ADF201E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000cgqS3AAI.png" alt="0695b00000cgqS3AAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 13:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345381#M112922</guid>
      <dc:creator>Daemon_demon</dc:creator>
      <dc:date>2023-02-02T13:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Perform Read/Update/Delete on same table using tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345382#M112923</link>
      <description>&lt;P&gt;This sounds odd and that maybe your logic inside the job might need to be looked at. But I can help with regard to not being able to use the tHash components due to memory issues.  Take a look here (https://help.talend.com/r/en-US/8.0/open-studio-user-guide/specifying-limits-of-vm-memory-for-job-or-route) about increasing the memory available to the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On that note, I'd like to recommend you try using the tHSQLDB components. These create a database in memory for you to use. I have put together an example in this post (https://community.talend.com/s/feed/0D75b000005yRDCCA2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd start by changing the memory settings and attempting to load the data into the tHSQLDB components. Then check the data you are getting. &lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 17:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Perform-Read-Update-Delete-on-same-table-using-tMap/m-p/2345382#M112923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-02T17:18:36Z</dc:date>
    </item>
  </channel>
</rss>

