<?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: Load CSV to Postgres: foreign key table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282894#M56947</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOWqAAO"&gt;@Emanuele89&lt;/A&gt;&amp;nbsp;,in both lookup table section row3 and row5 you need to join,have you did in that way? can you share the tMap join screenshot.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Feb 2019 09:05:48 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-02-22T09:05:48Z</dc:date>
    <item>
      <title>Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282890#M56943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a csv file to load in several Postgres' tables. I loaded data on the first two table and then I want to fill up the third one. To do that, I need the primary key from table1 and table2. I attached myJob and my tMap2 where I am doing a lookup with the first two table filled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the result is always 0 for fk1 (row5.uid_policy) and fk2 (row3.uid_rule_group). How can I solve it? Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282890#M56943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282891#M56944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; In your tMap, I am not able to see any join conditions (sample as shown below)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 564px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3Ip.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150984i5008701277BE3D65/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3Ip.png" alt="0683p000009M3Ip.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You will have to select inner join between Main table and two lookup tables based on columns which are present in both tables. Could you please change it and verify it? If you are still facing problem, please share a sample file for both main table and lookup with columns to join and I can show it from Studio.&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>Thu, 21 Feb 2019 17:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282891#M56944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T17:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282892#M56945</link>
      <description>&lt;P&gt;You're right!! I completly forgot to set the join condition!!&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I see the values now, but I have one more problem: my table "rem_v_rule_group" has the following values (example):&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;uid&amp;nbsp; &amp;nbsp; &amp;nbsp;val&lt;/P&gt; 
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; COMPLETED&lt;/P&gt; 
&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;COMPLETED&lt;/P&gt; 
&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;COMPLETED&lt;/P&gt; 
&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;COMPLETED&lt;/P&gt; 
&lt;P&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;COMPLETED&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;val assume always the same value. Just uid, as primary key, is different. When I use the join condition in tMap2, on val, the value returned is always 24...the last uid in my table. I also tried to modify the join condition (All Matches, Inner Join), but I got 574 values in return instead of 24.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 08:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282892#M56945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T08:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282893#M56946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I am slightly confused here!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; If you are joining on a key and the join is resulting in multiple matched records, it will take the unique match based on last record of lookup. So it is working as expected. If you want to get all match combinations, you will have to select All Match and it will give all combinations based on match.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please explain what you are trying to achieve here by join? Please share sample input files for tMap, expected output data and the data you are getting for this tMap. Then we should be able to help you better &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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, 22 Feb 2019 09:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282893#M56946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T09:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282894#M56947</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOWqAAO"&gt;@Emanuele89&lt;/A&gt;&amp;nbsp;,in both lookup table section row3 and row5 you need to join,have you did in that way? can you share the tMap join screenshot.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 09:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282894#M56947</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-02-22T09:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282895#M56948</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching sample.csv file as input file and my expected output (.xls). I hope the issue is clear explaned.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Luud"&gt;expected output.xlsx&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuaH"&gt;sample.csv&lt;/A&gt;</description>
      <pubDate>Fri, 22 Feb 2019 09:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282895#M56948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T09:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282896#M56949</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am attached my tMap.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuVw"&gt;tMap.png&lt;/A&gt;</description>
      <pubDate>Fri, 22 Feb 2019 09:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282896#M56949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282897#M56950</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOWqAAO"&gt;@Emanuele89&lt;/A&gt;&amp;nbsp;, I have done and i am attaching the job here you can check,i am getting 4 records out of your&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lv4P"&gt;test_emu.zip&lt;/A&gt;</description>
      <pubDate>Fri, 22 Feb 2019 10:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282897#M56950</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-02-22T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282898#M56951</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOWqAAO"&gt;@Emanuele89&lt;/A&gt;&amp;nbsp;,because of duplicate data you were not getting.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 10:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282898#M56951</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-02-22T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282899#M56952</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot import the project because of my Talend version. I am usign 7.0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 10:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282899#M56952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T10:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV to Postgres: foreign key table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282900#M56953</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok! Some way I import the job and run it. But uid_rule_group in tLogRow3 sholud be 1,2,3,4 and not 4,4,4,&lt;/P&gt;
&lt;P&gt;4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 10:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-CSV-to-Postgres-foreign-key-table/m-p/2282900#M56953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-22T10:46:14Z</dc:date>
    </item>
  </channel>
</rss>

