<?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: [resolved] Save rejected rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298523#M70976</link>
    <description>Hi cheaito,
&lt;BR /&gt;
&lt;BR /&gt;Any update for your issue? Is this solution resolve your issue?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 26 Sep 2014 04:28:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-26T04:28:35Z</dc:date>
    <item>
      <title>[resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298517#M70970</link>
      <description>Hi everybody, i am reading from a delimited file and writing the output in a table. The source file has this &amp;nbsp;schema :
&lt;BR /&gt;a:varchar
&lt;BR /&gt;b:integer
&lt;BR /&gt;c:date
&lt;BR /&gt;c:varchar
&lt;BR /&gt;Some of the rows have more fields than the expected and they should be rejected, what i need to do is to save these rejected rows somewhere. Can i achieve that without knowing before how many fields the row has?
&lt;BR /&gt;Than you all</description>
      <pubDate>Wed, 24 Sep 2014 09:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298517#M70970</guid>
      <dc:creator>Loneliness</dc:creator>
      <dc:date>2014-09-24T09:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298518#M70971</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Some of the rows have more fields than the expected and they should be rejected,&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Calibri"&gt;Could you please elaborate your case with an example with input and expected output values? &lt;/FONT&gt;&lt;/FONT&gt; Are your looking for 
&lt;A href="https://help.talend.com/search/all?query=tSchemaComplianceCheck&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tSchemaComplianceCheck&lt;/A&gt; which helps to ensure the data quality of any source data against a reference data source. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 24 Sep 2014 09:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298518#M70971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-24T09:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298519#M70972</link>
      <description>Hi Sabrina, as you see in the screenshot, my file has 2 fields: region_id: integer and region_name:varchar. 
&lt;BR /&gt;The last 2 rows of the file have 3 fields and what i want to do is to save the rejected rows in all cases.&amp;nbsp;tSchemaComplianceCheck would&amp;nbsp; 
&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;check types, nullability and length of rows against reference values but what if in my file i have a row that has the 2 first fields correct but it has other fields?&amp;nbsp;&lt;/FONT&gt;tSchemaComplianceCheck&amp;nbsp; will not detect this row. I want the third row of my file (3,b,c) to be rejected and saved somehow...is it possible?&amp;nbsp; 
&lt;BR /&gt;Thank you 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAva.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127875iC5237BB266241DD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAva.png" alt="0683p000009MAva.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 Sep 2014 10:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298519#M70972</guid>
      <dc:creator>Loneliness</dc:creator>
      <dc:date>2014-09-24T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298520#M70973</link>
      <description>Hi, 
&lt;BR /&gt;You can set a length limitation for your column "Region_name" to avoid your third row of file (3,b,c). 
&lt;BR /&gt;See my pic, feel free to let me know if it is Ok with you. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB1H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138047iBB50A0E3BC85E331/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB1H.png" alt="0683p000009MB1H.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB1M.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152085iEF7F12B98BB1230B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB1M.png" alt="0683p000009MB1M.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAl0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131998i12D51B7A560BC75C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAl0.png" alt="0683p000009MAl0.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 Sep 2014 10:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298520#M70973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-24T10:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298521#M70974</link>
      <description>Thank you Sabrina for your reply, actually, this resolve only in part my problem, i still need to save the whole rejected row in my output, including the additional fields if any, and your solution only show the first 2 fields because the source file schema has only 2 fields.&amp;nbsp; 
&lt;BR /&gt;For example: the row (3,b,c) is correctly rejected, but in the rejected output i only have:&amp;nbsp; 
&lt;BR /&gt;|=---+----+------------------------------- 
&lt;BR /&gt;|code|name|errorMessage &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;|=---+----+------------------------------- 
&lt;BR /&gt;|3 &amp;nbsp; &amp;nbsp; |b &amp;nbsp; &amp;nbsp;&amp;nbsp; | name.length() &amp;gt; 1 failed 
&lt;BR /&gt;so i loose the third field (c)... 
&lt;BR /&gt;Thanks again 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB1R.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142441i15070D741D6AD5EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB1R.png" alt="0683p000009MB1R.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298521#M70974</guid>
      <dc:creator>Loneliness</dc:creator>
      <dc:date>2014-09-24T11:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298522#M70975</link>
      <description>Hi, 
&lt;BR /&gt;For your input data: 
&lt;BR /&gt;1,Europe 
&lt;BR /&gt;2,Asia 
&lt;BR /&gt;a,b,c 
&lt;BR /&gt;3,b,c 
&lt;BR /&gt; 
&lt;BR /&gt;If you want to use "," as field separator, you need add a column filed 3 for your third field (c)... 
&lt;BR /&gt;See my pics 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB1W.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156627i5B243C0897E600A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB1W.png" alt="0683p000009MB1W.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB1b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156477i2F7D0254714CF31E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB1b.png" alt="0683p000009MB1b.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 25 Sep 2014 05:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298522#M70975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-25T05:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298523#M70976</link>
      <description>Hi cheaito,
&lt;BR /&gt;
&lt;BR /&gt;Any update for your issue? Is this solution resolve your issue?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 26 Sep 2014 04:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298523#M70976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T04:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Save rejected rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298524#M70977</link>
      <description>Hi Sabrina, actually no...what i wanted to achieve is the following: 
&lt;BR /&gt;I define the file schema as 2 fields Field1: int; Field2: String 
&lt;BR /&gt;For some reason, the source file has some wrong rows that do not respect this schema and these rows have more fields (more separators) 
&lt;BR /&gt;I want my job to reject these rows and to show me the rejected row entirely and not only part of it! 
&lt;BR /&gt;I can't modify the schema definition of the source file because it should have only 2 fields and i want the job to reject those rows, if any, that have more fields and in my output i want to see something like this: 
&lt;BR /&gt;The row: "3,b,c" was rejected because it has more fields than the expected! 
&lt;BR /&gt;Thank you again</description>
      <pubDate>Fri, 26 Sep 2014 08:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Save-rejected-rows/m-p/2298524#M70977</guid>
      <dc:creator>Loneliness</dc:creator>
      <dc:date>2014-09-26T08:23:22Z</dc:date>
    </item>
  </channel>
</rss>

