<?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 tMap, Inner Join, NULL, Rejected - Really need help... in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-Inner-Join-NULL-Rejected-Really-need-help/m-p/2243980#M30277</link>
    <description>Hello 
&lt;BR /&gt;I have a main table that has a few columns: 
&lt;BR /&gt;MAIN_SHIPMENT 
&lt;BR /&gt;id | date | brand_id | item_number 
&lt;BR /&gt;and record in this are currently 1:1 but in the new system will allow 1:X 
&lt;BR /&gt;so the new table structures are going to be: 
&lt;BR /&gt;SHIPMENT 
&lt;BR /&gt;id | date 
&lt;BR /&gt;ITEMS 
&lt;BR /&gt;id | shipment_id | brand_id | item_number 
&lt;BR /&gt;There is also a table Brands that has a relationship to the 'brand_id' field. This field in 'ITEMS' can be null. 
&lt;BR /&gt;Any records in the MAIN_SHIPMENT table that have a brand_id of 4 or 5, i want to change to null, so I am using a tJavaRow action before the tMap. 
&lt;BR /&gt;So technically, the tMap should be receiving null for the brand_id and that should be allowable and so inserted into the ITEMS table...but it's not. It's being bounced into the 'outputRejects' / errors table. 
&lt;BR /&gt;I have attached some images and tried to simplify the explanation, but the images show, of what i can, the actual job. If anyone can provide any suggestions as to what is going on that would be great. 
&lt;BR /&gt;So even though my ITEMS table allows null brand_id values, they are being rejected. 
&lt;BR /&gt;To setup the outputReject, i followed the tutorial on 
&lt;A href="http://www.talendforge.org/tutorials/tutorial.php?language=english&amp;amp;idTuto=9" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/tutorials/tutorial.php?language=english&amp;amp;idTuto=9&lt;/A&gt; 
&lt;BR /&gt;Thanks.</description>
    <pubDate>Sat, 16 Nov 2024 13:17:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:17:30Z</dc:date>
    <item>
      <title>tMap, Inner Join, NULL, Rejected - Really need help...</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Inner-Join-NULL-Rejected-Really-need-help/m-p/2243980#M30277</link>
      <description>Hello 
&lt;BR /&gt;I have a main table that has a few columns: 
&lt;BR /&gt;MAIN_SHIPMENT 
&lt;BR /&gt;id | date | brand_id | item_number 
&lt;BR /&gt;and record in this are currently 1:1 but in the new system will allow 1:X 
&lt;BR /&gt;so the new table structures are going to be: 
&lt;BR /&gt;SHIPMENT 
&lt;BR /&gt;id | date 
&lt;BR /&gt;ITEMS 
&lt;BR /&gt;id | shipment_id | brand_id | item_number 
&lt;BR /&gt;There is also a table Brands that has a relationship to the 'brand_id' field. This field in 'ITEMS' can be null. 
&lt;BR /&gt;Any records in the MAIN_SHIPMENT table that have a brand_id of 4 or 5, i want to change to null, so I am using a tJavaRow action before the tMap. 
&lt;BR /&gt;So technically, the tMap should be receiving null for the brand_id and that should be allowable and so inserted into the ITEMS table...but it's not. It's being bounced into the 'outputRejects' / errors table. 
&lt;BR /&gt;I have attached some images and tried to simplify the explanation, but the images show, of what i can, the actual job. If anyone can provide any suggestions as to what is going on that would be great. 
&lt;BR /&gt;So even though my ITEMS table allows null brand_id values, they are being rejected. 
&lt;BR /&gt;To setup the outputReject, i followed the tutorial on 
&lt;A href="http://www.talendforge.org/tutorials/tutorial.php?language=english&amp;amp;idTuto=9" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/tutorials/tutorial.php?language=english&amp;amp;idTuto=9&lt;/A&gt; 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 13:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Inner-Join-NULL-Rejected-Really-need-help/m-p/2243980#M30277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: tMap, Inner Join, NULL, Rejected - Really need help...</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Inner-Join-NULL-Rejected-Really-need-help/m-p/2243981#M30278</link>
      <description>NULL generally does not join to NULL. 
&lt;BR /&gt; you can use COALESCE() in your source query to convert the nulls to a crazy value that wont collide with your id's (-1 or something) that you can then use in your tmap to join with.</description>
      <pubDate>Sat, 11 Sep 2010 03:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Inner-Join-NULL-Rejected-Really-need-help/m-p/2243981#M30278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-11T03:16:38Z</dc:date>
    </item>
  </channel>
</rss>

