<?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 TschemaComplianceCheck: precision Non-matches Result in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356294#M121852</link>
    <description>Hi, 
&lt;BR /&gt;Currently I'm trying to verify the Length of the fields I'm extracting from the DB generating an excel report and an additional report with the data not complying the length specified, so basically the structure of my job is pretty simple: 
&lt;BR /&gt;tOracleInput--&amp;gt; tSchemaComplianceCheck--&amp;gt;tMap----&amp;gt;tfileOutputExcel 
&lt;BR /&gt;from the tSchemaComplianceCheck I got: 
&lt;BR /&gt;tSchemaComplianceCheck--&amp;gt;tFlowMeter--&amp;gt;TfileOutputExcel&amp;nbsp; 
&lt;BR /&gt;The problem shows up whenever, on the DB side, I have a table with any NUMBER data-type field so the tSchema is rejecting all the data&amp;nbsp; and within the rejected's report shows "FIELD_NAME: precision Non-matches". 
&lt;BR /&gt;I'm not specifying any restriction on the length of the Bigdecimal type (the numeric field on the db side) talend is using for the number data-type and definitely I'm not changing the data type from Bigdecimal to String or something 
&lt;BR /&gt;is there something I'm missing or do I have to make some adjustments?</description>
    <pubDate>Thu, 24 Jul 2014 00:29:14 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2014-07-24T00:29:14Z</dc:date>
    <item>
      <title>TschemaComplianceCheck: precision Non-matches Result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356294#M121852</link>
      <description>Hi, 
&lt;BR /&gt;Currently I'm trying to verify the Length of the fields I'm extracting from the DB generating an excel report and an additional report with the data not complying the length specified, so basically the structure of my job is pretty simple: 
&lt;BR /&gt;tOracleInput--&amp;gt; tSchemaComplianceCheck--&amp;gt;tMap----&amp;gt;tfileOutputExcel 
&lt;BR /&gt;from the tSchemaComplianceCheck I got: 
&lt;BR /&gt;tSchemaComplianceCheck--&amp;gt;tFlowMeter--&amp;gt;TfileOutputExcel&amp;nbsp; 
&lt;BR /&gt;The problem shows up whenever, on the DB side, I have a table with any NUMBER data-type field so the tSchema is rejecting all the data&amp;nbsp; and within the rejected's report shows "FIELD_NAME: precision Non-matches". 
&lt;BR /&gt;I'm not specifying any restriction on the length of the Bigdecimal type (the numeric field on the db side) talend is using for the number data-type and definitely I'm not changing the data type from Bigdecimal to String or something 
&lt;BR /&gt;is there something I'm missing or do I have to make some adjustments?</description>
      <pubDate>Thu, 24 Jul 2014 00:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356294#M121852</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-24T00:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: TschemaComplianceCheck: precision Non-matches Result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356295#M121853</link>
      <description>Hi HR,
&lt;BR /&gt;Have you created metadata for your input table and the same metadata is used for compliance check? tSchemaComplianceCheck component will verify data against the schema defined... if your data is different than the schema definition, it will reject else will not. Please verify correctness of of your schema against the database.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Thu, 24 Jul 2014 09:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356295#M121853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-24T09:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: TschemaComplianceCheck: precision Non-matches Result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356296#M121854</link>
      <description>Hi 
&lt;B&gt;sanvaibhav,&lt;/B&gt; 
&lt;BR /&gt;Thanks for the reply, 
&lt;BR /&gt;I created the metadata from the very moment I extracted the data from the xml, this process is basically&amp;nbsp; loading the XML, using the tXMLFile for the set of the loop elements I need to xtract from the file, using a tJavaRow for some conversions, in this case for the field I'm having issues with, by default(I guess) all the elements (date, strings, numbers) are read as String from the XMLs so for this I'm using 
&lt;BR /&gt;output_row.FIELD_ = Relational.ISNULL(input_row.FIELD_)?null:new BigDecimal(input_row.FIELD) within the tJava so that way the DB to catch the element as a number. 
&lt;BR /&gt;Now, Once all the data is on the DB side, I'm extracting the data with this new job to generate some reports that must follow some rules, Length in the case, so Im using the same Schemas I used from very beginning, the only diff is that for some fields (the varchar data type only) I changed the output length within the tSchemaComplianceCheck, I haven't change at all the bigdecimal/number elements, not even touched them... 
&lt;BR /&gt;for xample: 
&lt;BR /&gt;tOraceInput&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-----------&amp;gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tSchemaComplianceCheck 
&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;|Column &amp;nbsp;&amp;nbsp; | DbColumn&amp;nbsp; | Key |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type &amp;nbsp;&amp;nbsp; |...|Length|-----------&amp;gt;|Column &amp;nbsp;&amp;nbsp;| &amp;nbsp; DbColumn&amp;nbsp; | Key |&amp;nbsp; &amp;nbsp;&amp;nbsp; Type &amp;nbsp;&amp;nbsp;&amp;nbsp; |...| Length | 
&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;|FIELD_&amp;nbsp;&amp;nbsp;&amp;nbsp; | FIELD_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; | BigDecimal |...|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |------------&amp;gt;|FIELD_&amp;nbsp;&amp;nbsp;&amp;nbsp; | FIELD_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; | BigDecimal |...|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; | 
&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;|FIELD2_&amp;nbsp;&amp;nbsp; | FIELD2_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; String &amp;nbsp; &amp;nbsp; |...| 350&amp;nbsp; |------------&amp;gt;|FIELD2_&amp;nbsp;&amp;nbsp; | FIELD2_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; String&amp;nbsp; &amp;nbsp;&amp;nbsp; |...| &amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp; | 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards</description>
      <pubDate>Thu, 24 Jul 2014 17:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TschemaComplianceCheck-precision-Non-matches-Result/m-p/2356296#M121854</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-24T17:04:45Z</dc:date>
    </item>
  </channel>
</rss>

