<?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: Reject Handling - best practices in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369635#M132764</link>
    <description>Hi Sabrina,
&lt;BR /&gt;I'm trying to save the reject data into a table on oracle. But no matter what output that i use, always come back the line with error as primary key. See my example:
&lt;BR /&gt;I have a table with 3 columns: id, name, email
&lt;BR /&gt;
&lt;TABLE&gt; 
 &lt;TBODY&gt;
  &lt;TR&gt;
   &lt;TD&gt;1&lt;/TD&gt;
   &lt;TD&gt;NAME 1&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 0&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;2&lt;/TD&gt;
   &lt;TD&gt;NAME 2&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 1&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;3&lt;/TD&gt;
   &lt;TD&gt;NAME 3&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 2&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;4&lt;/TD&gt;
   &lt;TD&gt;NAME 4&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 3&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
 &lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;BR /&gt;So, when i tried to save the data, i have an error with ID, because is not a number. What can i do to take it off the line with "Line errors"?</description>
    <pubDate>Tue, 16 Dec 2014 14:50:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-16T14:50:03Z</dc:date>
    <item>
      <title>Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369625#M132754</link>
      <description>I wonder if someone could tell me if there is a better way to accomplish what I'm trying to do. I'm having trouble specifying a specific reject reason for a data set when a lookup fails in the tMap component (if a tMap contains several lookups and all are inner joins, then there is apparently no way to know which lookup failed and caused the record to be rejected). My solution is to use a series of tMaps and each tMap only contains one lookup - which makes it easy to add a column to the reject output and specify a reject reason : i.e. : "Invalid Customer Number!" when the Customer Number tMap fails. 
&lt;BR /&gt;My solution is to use one tMap component for each lookup. This makes it possible to know why the lookup failed and append a "reject reason" field to the output. I have included a screenshot of the relevant job flow which shows how the data is flowing through a series of tMaps, with a tFileOutput for the rejects. This seems to be a cumbersome way of doing it, and now I have to find a way to merge all of those files back together (tUnite does not work in this case for some reason). 
&lt;BR /&gt;Is it possible to identify which lookup a record failed on in a tMap component which contains several lookups? 
&lt;BR /&gt;Here's an example: 
&lt;BR /&gt;If I have input with three fields: 
&lt;BR /&gt;Customer Number, Customer Type, Region 
&lt;BR /&gt;and I want to perform lookups on all 3 fields so that I can convert each into an ID field (as is normal with referential integrity), like this: 
&lt;BR /&gt;CUSTOMER_ID, TYPE_ID, REGION_ID 
&lt;BR /&gt;Is it possible to do all of this in one tMap AND also to know for example if a record is rejected whether it was rejected due to Invalid Customer Number, Invalid Type, or Invalid Region? 
&lt;BR /&gt;It seems to me like if we do it all in one tMap then when a record is rejected we won't be able to know what was the specific reason that it failed. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Joe</description>
      <pubDate>Sat, 16 Nov 2024 13:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369625#M132754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369626#M132755</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;tUnite does not work in this case for some reason&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Talend does not allow flows to be split and rejoined e.g. two flows originating from one tMap component to be re-united at a tUnite or tFileOutput). However, you could possibly have each output component reference the same file; although that might only work with text files.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Is it possible to do all of this in one tMap AND also to know for example if a record is rejected whether it was rejected due to Invalid Customer Number, Invalid Type, or Invalid Region?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;With tMap inner joins, Talend does not attempt any joins after the one that fails. You can thus have all your lookups in one tMap with one table of rejects but with the reason determined by which of the lookup fields have a value and which are null e.g. in Java syntax, assuming the lookup tables are in the order you've given:
&lt;BR /&gt;CustomerTable.CUSTOMER_ID==null
&lt;BR /&gt;?"Invalid Customer Number!"
&lt;BR /&gt;:CustomerTypeTable.TYPE_ID==null
&lt;BR /&gt; ?"Invalid Customer Type!"
&lt;BR /&gt; :"Invalid Region!"</description>
      <pubDate>Thu, 04 Mar 2010 07:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369626#M132755</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-03-04T07:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369627#M132756</link>
      <description>Thank you, alevy.</description>
      <pubDate>Wed, 17 Mar 2010 13:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369627#M132756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-17T13:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369628#M132757</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I have created a job with following flow :&lt;BR /&gt;tfilelist --&amp;gt;tfileinputdelimited---------&amp;gt;tmap--&amp;gt;tmysqloutptutbulkexec&lt;BR /&gt;                                         |reject &lt;BR /&gt;                                         |--&amp;gt; tfileoutputdelimited&lt;BR /&gt;&lt;BR /&gt;the data rejected from tfileinputdelimited will be got in tfileoutputdelimited with reason of rejection &lt;BR /&gt;The problem is the output file does not contain entire row details,if the row is rejected because of first column data then the output file contains only that field value in the row with reason for rejection . But i want the entire row values data for reloading purpose how to achieve that .</description>
      <pubDate>Mon, 05 Aug 2013 08:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369628#M132757</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-08-05T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369629#M132758</link>
      <description>Hi banu, &lt;BR /&gt;What's your expected result and actual result? Why did you use rejects row from tfileinputdelimited instead of tMap? Could you please elaborate your case with an example?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 05 Aug 2013 08:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369629#M132758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-05T08:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369630#M132759</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;The input file contains some junk value that gets rejected in tfileinputdelimited component only &lt;BR /&gt;the rejected file contains below value:&lt;BR /&gt; ;;;For input string: "slu1a^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@0009102451^@0009109438^@1357050300^@1357051200^@0000006988^@0009102451" - Line: 0&lt;BR /&gt;&lt;BR /&gt;What actually i want is the rejected file should contain entire row values like as follows:&lt;BR /&gt;slu1a^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@0009102451^@0009109438^@1357050300^@1357051200^@0000006988^@0009102451;565;767;76 then rejected reason .</description>
      <pubDate>Mon, 05 Aug 2013 08:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369630#M132759</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-08-05T08:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369631#M132760</link>
      <description>Hi, 
&lt;BR /&gt;What's the rejected reason? Usually, the rejects row from input file can be shown the string (see my screenshot for data type issue). 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sarina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAjt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148459i3BDBDB34D6BF13A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAjt.png" alt="0683p000009MAjt.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 05 Aug 2013 09:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369631#M132760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-05T09:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369632#M132761</link>
      <description>hi sabrina,&lt;BR /&gt;&lt;BR /&gt;what i want is ,the data should be written into the file with all the column values not only till the column being rejected ....</description>
      <pubDate>Mon, 05 Aug 2013 09:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369632#M132761</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-08-05T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369633#M132762</link>
      <description>Hi, 
&lt;BR /&gt;So far, the rejects information just show the error string and the location.
&lt;BR /&gt;For example, 
&lt;BR /&gt;Id;Name;Age;Email
&lt;BR /&gt;1;shong;11;shong@talend.com
&lt;BR /&gt;a;elise;22;elise@talend.com
&lt;BR /&gt;We set Id as "int/integer" and the string "a" will be rejected.
&lt;BR /&gt;The error message will be : For input string "a"-Line 2 instead of For input string "a;elise;22;elise@talend.com" -Line2.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 05 Aug 2013 10:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369633#M132762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-05T10:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369634#M132763</link>
      <description>thx for  reply</description>
      <pubDate>Mon, 05 Aug 2013 11:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369634#M132763</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-08-05T11:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369635#M132764</link>
      <description>Hi Sabrina,
&lt;BR /&gt;I'm trying to save the reject data into a table on oracle. But no matter what output that i use, always come back the line with error as primary key. See my example:
&lt;BR /&gt;I have a table with 3 columns: id, name, email
&lt;BR /&gt;
&lt;TABLE&gt; 
 &lt;TBODY&gt;
  &lt;TR&gt;
   &lt;TD&gt;1&lt;/TD&gt;
   &lt;TD&gt;NAME 1&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 0&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;2&lt;/TD&gt;
   &lt;TD&gt;NAME 2&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 1&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;3&lt;/TD&gt;
   &lt;TD&gt;NAME 3&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 2&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;4&lt;/TD&gt;
   &lt;TD&gt;NAME 4&lt;/TD&gt;
   &lt;TD&gt;name1@email.com&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&amp;nbsp;- Line: 3&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
   &lt;TD&gt;&lt;/TD&gt;
  &lt;/TR&gt;
 &lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;BR /&gt;So, when i tried to save the data, i have an error with ID, because is not a number. What can i do to take it off the line with "Line errors"?</description>
      <pubDate>Tue, 16 Dec 2014 14:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369635#M132764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-16T14:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reject Handling - best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369636#M132765</link>
      <description>Hi viniciuscoimbra, 
&lt;BR /&gt;Could you please give us more info about your current job? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 17 Dec 2014 07:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reject-Handling-best-practices/m-p/2369636#M132765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-17T07:19:26Z</dc:date>
    </item>
  </channel>
</rss>

