<?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: How to insert data if not present in table?Infinidb in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314861#M85589</link>
    <description>This is simple case, but I can't still  have implement it.</description>
    <pubDate>Wed, 17 Aug 2011 13:54:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-17T13:54:23Z</dc:date>
    <item>
      <title>How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314848#M85576</link>
      <description>Hi all! 
&lt;BR /&gt;I have a table in the infinidb. Table not have foreign key. 
&lt;BR /&gt;My talend job have two tInputMySQL, - one main input and one Lookup component that connect to the tMap. 
&lt;BR /&gt;I use expession in the tMap, "row1.id!=row4.Master_category_value" If id not exist at the selected data then process insert data. But this expression don't work! Talend ignore this expression and beging insert duplicate data. 
&lt;BR /&gt;Ok, in the tMysqlOutput component set option in "action on data" = update or insert. But Talend create new row when and i have many duplicate rows! Does this issue cose i use table without foreign keys? 
&lt;BR /&gt; 
&lt;BR /&gt;Sorry for my english. Lets see my screenshots in attachments.</description>
      <pubDate>Sat, 16 Nov 2024 12:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314848#M85576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314849#M85577</link>
      <description>What you have done in tMap is for each main row (row1) get every row from the lookup table (row4) where row1.id!=row4.Master_category_value whereas what you want, I think, is to get each main row that does not have a match in the lookup table. 
&lt;BR /&gt;You should have row1.id in the Expr.key field to the left of Master_category_value in the lookup table and change the lookup table to inner-join. Then remove the filter expression on the output table and change "Catch lookup inner join reject" to true.</description>
      <pubDate>Tue, 16 Aug 2011 00:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314849#M85577</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-08-16T00:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314850#M85578</link>
      <description>Wnen i set Catch lookup inner join reject in true  then 0 rows selected to the outputable..&lt;BR /&gt;&lt;BR /&gt;I want create query  like : select * from table a where a.id not in (select master_id from table b)&lt;BR /&gt;and insert there rows.&lt;BR /&gt;But table a and table b have different databases and i can't implement this query in one tMysqlInput&lt;BR /&gt;See attachments.</description>
      <pubDate>Tue, 16 Aug 2011 08:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314850#M85578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T08:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314851#M85579</link>
      <description>Hi 
&lt;BR /&gt;You don't configure it correctly on tMap. You need to do a inner join and get the reject rows. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 16 Aug 2011 10:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314851#M85579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314852#M85580</link>
      <description>But Join Model for row4 have only one option: Left Outer Join and dont select to another..</description>
      <pubDate>Tue, 16 Aug 2011 10:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314852#M85580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314853#M85581</link>
      <description>hmm, it should be able to select another option, double click on the 'left outer join', there should be a button like '...', click on the button and select the option 'inner join'
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 16 Aug 2011 10:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314853#M85581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314854#M85582</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;hmm, it should be able to select another option, double click on the 'left outer join', there should be a button like '...', click on the button and select the option 'inner join'&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;No, Join Model for row4 have only 'left outer join' option.. 
&lt;BR /&gt;talend open studio, 4.2.2 version 
&lt;BR /&gt;Build id: r63143-20110622-0628</description>
      <pubDate>Tue, 16 Aug 2011 10:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314854#M85582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314855#M85583</link>
      <description>Hi
&lt;BR /&gt;Which OS?
&lt;BR /&gt;Can you export the job and send it to me? I think there must be a job design problem.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 16 Aug 2011 10:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314855#M85583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314856#M85584</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi&lt;BR /&gt;Which OS?&lt;BR /&gt;Can you export the job and send it to me? I think there must be a job design problem.&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Ok, 
&lt;BR /&gt;Windows 7 x64.</description>
      <pubDate>Tue, 16 Aug 2011 10:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314856#M85584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314857#M85585</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi&lt;BR /&gt;Which OS?&lt;BR /&gt;Can you export the job and send it to me? I think there must be a job design problem.&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Ok, 
&lt;BR /&gt;Windows 7 x64.
&lt;BR /&gt;I have been sent email.</description>
      <pubDate>Tue, 16 Aug 2011 10:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314857#M85585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T10:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314858#M85586</link>
      <description>But with "Inner join" option my process doesnt work correct..
&lt;BR /&gt;Expression being ignore.</description>
      <pubDate>Tue, 16 Aug 2011 14:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314858#M85586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T14:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314859#M85587</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;But Join Model for row4 have only one option: Left Outer Join and dont select to another..&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;As you've figured out, you can't change to an inner-join before you specify the fields for the join i.e. you must enter row3.id against Master_category_value first. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;But with "Inner join" option my process doesnt work correct..&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;You still have not followed my or shong's instructions. Only have the inner-join and "Catch lookup inner join reject". Do not have your expression (row3.id!=row4.Master_category_value) anywhere. 
&lt;BR /&gt;What you have done now is join on row3.id==row4.Master_category_value and then filter out every lookup result where row3.id!=row4.Master_category_value i.e. no results.</description>
      <pubDate>Tue, 16 Aug 2011 23:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314859#M85587</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-08-16T23:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314860#M85588</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt; 
     &lt;BLOCKQUOTE&gt; 
      &lt;TABLE border="1"&gt; 
       &lt;TBODY&gt; 
        &lt;TR&gt; 
         &lt;TD&gt;But Join Model for row4 have only one option: Left Outer Join and dont select to another..&lt;/TD&gt; 
        &lt;/TR&gt; 
       &lt;/TBODY&gt; 
      &lt;/TABLE&gt; 
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;As you've figured out, you can't change to an inner-join before you specify the fields for the join i.e. you must enter row3.id against Master_category_value first.&lt;BR /&gt; 
     &lt;BLOCKQUOTE&gt; 
      &lt;TABLE border="1"&gt; 
       &lt;TBODY&gt; 
        &lt;TR&gt; 
         &lt;TD&gt;But with "Inner join" option my process doesnt work correct..&lt;/TD&gt; 
        &lt;/TR&gt; 
       &lt;/TBODY&gt; 
      &lt;/TABLE&gt; 
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;You still have not followed my or shong's instructions. Only have the inner-join and "Catch lookup inner join reject". Do not have your expression (row3.id!=row4.Master_category_value) anywhere.&lt;BR /&gt;What you have done now is join on row3.id==row4.Master_category_value and then filter out every lookup result where row3.id!=row4.Master_category_value i.e. no results.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;This decision doesn't work. I want to select rows from source table with ID's which isn't present in the output table with Master_category_id's. Or if output table does not have rows then process must be insert all rows from source table to output table.</description>
      <pubDate>Wed, 17 Aug 2011 13:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314860#M85588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-17T13:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314861#M85589</link>
      <description>This is simple case, but I can't still  have implement it.</description>
      <pubDate>Wed, 17 Aug 2011 13:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314861#M85589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-17T13:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert data if not present in table?Infinidb</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314862#M85590</link>
      <description>Based upon the most recent screenshot I've seen of your tMap, you've got it slightly misconfigured. 
&lt;BR /&gt;Here are the options that you need: 
&lt;BR /&gt;1. Join condition on row4 (row1.id) in Master_category_value, which you have. 
&lt;BR /&gt;2. Under the options, set "Join Model" equal to "Inner Join" - which you may have already, but the options on row4 aren't shown. 
&lt;BR /&gt;3. On out1's options set "Catch lookup inner join rejects" to "true" 
&lt;BR /&gt; 
&lt;BR /&gt;See the attached screenshot for an example of the configuration for both the input and the output sides of the tMap. 
&lt;BR /&gt;Hope that helps.</description>
      <pubDate>Wed, 17 Aug 2011 15:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-data-if-not-present-in-table-Infinidb/m-p/2314862#M85590</guid>
      <dc:creator>rbaldwin</dc:creator>
      <dc:date>2011-08-17T15:32:51Z</dc:date>
    </item>
  </channel>
</rss>

