<?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: tSchemaComplianceCheck errorCode Not expected behaviour in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352297#M118716</link>
    <description>Hi, &lt;BR /&gt;How did you set tSchemaComplianceCheck? Have you already check component reference &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;?&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values? &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Mon, 26 May 2014 03:09:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-26T03:09:46Z</dc:date>
    <item>
      <title>tSchemaComplianceCheck errorCode Not expected behaviour</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352296#M118715</link>
      <description>Hi, 
&lt;BR /&gt;I have a simple job with : 
&lt;BR /&gt;tFileInputDelimited --&amp;gt;tSchemaComplianceCheck --reject--&amp;gt; tFileOutputDelimited 
&lt;BR /&gt;In the description of tSchemaComplianceCheck with can read that errCode is a summation of ALL errorcode : 
&lt;BR /&gt;2 for type disparency 
&lt;BR /&gt;4 for null or empty 
&lt;BR /&gt;8 for length and precision error 
&lt;BR /&gt;Now if i analyse my outputfile : 
&lt;BR /&gt;The two first lines, there is no problem. They match the rules above. 
&lt;BR /&gt;Errcode -- ErrMsg 
&lt;BR /&gt;8 -- MEINS:exceed max length 
&lt;BR /&gt;4 -- MEINS:empty or null 
&lt;BR /&gt;But when i got multiple error it start to have a weird behaviour : 
&lt;BR /&gt;Errcode -- ErrMsg 
&lt;BR /&gt;16 -- MATKL:empty or null;MEINS:empty or null 
&lt;BR /&gt;10 -- NTGEW:wrong type|invalid Length setting is unsuitable for Precision 
&lt;BR /&gt;8 -- VOLUM 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;recision Non-matches 
&lt;BR /&gt;8 -- VOLUM:invalid Length setting is unsuitable for Precision 
&lt;BR /&gt;16 -- NTGEW:wrong type|invalid Length setting is unsuitable for Precision;VOLUM:invalid Length setting is unsuitable for Precision 
&lt;BR /&gt;The first line is already mind blowing since empty or null throw a 4 errorcode so it should be 8 (4+4). Since 16 is 4*4 at this point i was thinking that errorcode from different column was multiply. 
&lt;BR /&gt;The next line is ok, wrong type (2) + invalid length(8) give 10. 
&lt;BR /&gt;Two next lines are ok too for obvious reason. 
&lt;BR /&gt;But the last one is really annoying. The result is 16. There is 3 errors, wrong type and invalid length should give 10 like my previous line showed it, so with an other invalid precision it should end to 18 and if i apply my consideration about multiple column multiplying errocode is should be 10 * 8 = 80. 
&lt;BR /&gt;Finally i have two big problems : Two errors of 4 value gives 16, and a triple errors that should leads to 18 gives 16. 
&lt;BR /&gt;Do i am wrong somewhere ?</description>
      <pubDate>Fri, 23 May 2014 14:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352296#M118715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-23T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck errorCode Not expected behaviour</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352297#M118716</link>
      <description>Hi, &lt;BR /&gt;How did you set tSchemaComplianceCheck? Have you already check component reference &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;?&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values? &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 26 May 2014 03:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352297#M118716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-26T03:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck errorCode Not expected behaviour</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352298#M118717</link>
      <description>I am using a schema for compliance check and treat empty as NULL. 
&lt;BR /&gt;Schema is kind of : 
&lt;BR /&gt;MATKL Not Nullable String Length 9 
&lt;BR /&gt;MEINS Not Nullable String Length 3 
&lt;BR /&gt;NTGEW Nullable BigDecimal Length 13(decimal 3) 
&lt;BR /&gt;VOLUM Nullable BigDecimal Length 13(decimal 3) 
&lt;BR /&gt;Input 
&lt;BR /&gt;line number | MATKL | MEINS | NTGEW | VOLUM 
&lt;BR /&gt;1 | TEST | TESTLENGTH| | 
&lt;BR /&gt;2 | TEST | | | 
&lt;BR /&gt;3 | | | 12 | 12 
&lt;BR /&gt;4 | TEST | TES | num12345678901 | | 
&lt;BR /&gt;5 | TEST | TES | | 123.1234 | 
&lt;BR /&gt;6 | TEST | TES | | 12345678901234 | 
&lt;BR /&gt;7 | TEST | TES | num12345678901 | 12345678901234 | 
&lt;BR /&gt;Following cimponent rules : 
&lt;BR /&gt;2 for type disparency 
&lt;BR /&gt;4 for null or empty 
&lt;BR /&gt;8 for length and precision error 
&lt;BR /&gt;my expected result is : 
&lt;BR /&gt;line number | error message | error code 
&lt;BR /&gt;1 | MEINS : max length | 8 
&lt;BR /&gt;2 | MEINS : null | 4 
&lt;BR /&gt;3 | MATKL : null ;MEINS : null | 8(4+4) 
&lt;BR /&gt;4 | NTGEW : wrong type + max length | 10 (2+8) 
&lt;BR /&gt;5 | VOLUM : max precision | 8 
&lt;BR /&gt;6 | VOLUM max length | 8 
&lt;BR /&gt;7 | NTGEW : wrong type + max length ; VOLUM max length | 18 ( 2+ 8 + &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; 
&lt;BR /&gt;Actual result : 
&lt;BR /&gt;line number | error message | error code 
&lt;BR /&gt;1 | MEINS:exceed max length | 8 
&lt;BR /&gt;2 | MEINS:empty or null | 4 
&lt;BR /&gt;3 | MATKL:empty or null;MEINS:empty or null | 16 
&lt;BR /&gt;4 | NTGEW:wrong type|invalid Length setting is unsuitable for Precision | 10 
&lt;BR /&gt;5 | VOLUM 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;recision Non-matches | 8 
&lt;BR /&gt;6 | VOLUM:invalid Length setting is unsuitable for Precision | 8 
&lt;BR /&gt;7 | NTGEW:wrong type|invalid Length setting is unsuitable for Precision;VOLUM:invalid Length setting is unsuitable for Precision | 16 
&lt;BR /&gt;So error message are perfects but error code are not the expected one taking in consideration the rules described by the component itself.</description>
      <pubDate>Mon, 26 May 2014 14:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352298#M118717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-26T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck errorCode Not expected behaviour</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352299#M118718</link>
      <description>Hi BREUILj 
&lt;BR /&gt;It looks like there is a bug, i tested it with v5.4.1 and got the same problem. Can you please report jira issue under Talend DI project in our bugtracker. 
&lt;BR /&gt; 
&lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/secure/Dashboard.jspa&lt;/A&gt; 
&lt;BR /&gt;Thanks! 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 27 May 2014 16:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSchemaComplianceCheck-errorCode-Not-expected-behaviour/m-p/2352299#M118718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-27T16:28:39Z</dc:date>
    </item>
  </channel>
</rss>

