<?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: Incorrect Input for Big Decimal in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261625#M42352</link>
    <description>&lt;P&gt;The SQL Query is as follows:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;"SELECT TO_CHAR (MAX (CREATED_ON), 'YYYY-MM-DD') AS MAX_CREATED_ON,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;COUNT (*) AS COUNT_ERROR,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;CREATED_BY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ERROR_STACK,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SYSTEM_ERROR_MESSAGE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;MESSAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;FROM Q$****_II***&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;WHERE CREATED_ON &amp;gt; SYSTIMESTAMP - INTERVAL '24000' MINUTE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;AND (CREATED_BY, ERROR_STACK, SYSTEM_ERROR_MESSAGE) NOT IN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(SELECT CREATED_BY, ERROR_STACK, SYSTEM_ERROR_MESSAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;FROM Q$****_IN****&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;WHERE CREATED_ON &amp;lt;= SYSTIMESTAMP - INTERVAL '24000' MINUTE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;GROUP BY CREATED_BY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ERROR_STACK,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SYSTEM_ERROR_MESSAGE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;MESSAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ORDER BY TO_CHAR (MAX (CREATED_ON), 'YYYY-MM-DD HH24:MI&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S') DESC,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;COUNT (*) DESC,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;CREATED_BY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ERROR_STACK,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SYSTEM_ERROR_MESSAGE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;MESSAGE "&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3"&gt;Sample Data:&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;TABLE&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;MAX_CREATED_ON&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;COUNT_ERROR&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;ERROR_STACK&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;MESSAGE&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;SYSTEM_ERROR_MESSAGE&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;CREATED_BY&lt;/FONT&gt;&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;2018-08-31&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;2096&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;ORA-06512: at "K******.P****", line 2724&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;p**_M****.s**_ca**_s*****_h****(): Caught an unexpected exception. SQLERRM: ORA-02291: integrity constraint (KP****_ST***.FK_C**_C**_S***_H***_S**_L**) violated - parent key not found&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;ORA-02291: integrity constraint (K****_S****.F*_C**_C**_S***_H****_S**_L**) violated - parent key not found&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;KP***_ST***&lt;/FONT&gt;&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The count is a count of how many errors of a particular type are occurring. Our database generally has numbers as BigDecimals/Number types. I also tried having it read as an Integer and it gave me this message:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For input string: "COUNT_ERROR"&lt;BR /&gt;[ERROR]: new_r2_qerror.qerror_instance_2_0.QERROR_INSTANCE - tFileInputExcel_1 - For input string: "COUNT_ERROR"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Talend keeps believing that the count is a String even if I change the data type in the schema in the Oracle Input to Integer or Big Decimal.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am not sure what you mean by log information.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 20:46:37 GMT</pubDate>
    <dc:creator>daniellesacks</dc:creator>
    <dc:date>2018-09-04T20:46:37Z</dc:date>
    <item>
      <title>Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261623#M42350</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For my job, I copy an existing Excel file. I then compare that copy via tMap to the SQL input. My job then adds any new records to the original Excel file that is copied and also sends an email reporting the new records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the data comes through the SQL query as String, but I convert it to a Big Decimal in tMap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The job runs all the way through correctly and finishes, but I always receive the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Incorrect input "COUNT_ERROR" for BigDecimal.&lt;BR /&gt;[ERROR]: new_r2_qerror.qerror_instance_2_0.QERROR_INSTANCE - tFileInputExcel_1 - Incorrect input "COUNT_ERROR" for BigDecimal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see attached pictures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do I need to do to avoid this error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261623#M42350</guid>
      <dc:creator>daniellesacks</dc:creator>
      <dc:date>2018-09-04T18:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261624#M42351</link>
      <description>&lt;P&gt;Could you please provide is with more details please provide some data example / exact values.&lt;/P&gt;
&lt;P&gt;Excel might be effected by language settings, so in the Netherlands a 12.48 is written as 12,48 if you try to convert it it will fail and raise an error.&lt;BR /&gt;We need some extra log information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why on earth using a BigDecimal for a COUNT_ERROR... is it because of using a COUNT_BIG() function.&lt;BR /&gt;BigDecimal sounds a bit like overkill.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 20:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261624#M42351</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-09-04T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261625#M42352</link>
      <description>&lt;P&gt;The SQL Query is as follows:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;"SELECT TO_CHAR (MAX (CREATED_ON), 'YYYY-MM-DD') AS MAX_CREATED_ON,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;COUNT (*) AS COUNT_ERROR,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;CREATED_BY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ERROR_STACK,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SYSTEM_ERROR_MESSAGE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;MESSAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;FROM Q$****_II***&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;WHERE CREATED_ON &amp;gt; SYSTIMESTAMP - INTERVAL '24000' MINUTE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;AND (CREATED_BY, ERROR_STACK, SYSTEM_ERROR_MESSAGE) NOT IN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(SELECT CREATED_BY, ERROR_STACK, SYSTEM_ERROR_MESSAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;FROM Q$****_IN****&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;WHERE CREATED_ON &amp;lt;= SYSTIMESTAMP - INTERVAL '24000' MINUTE)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;GROUP BY CREATED_BY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ERROR_STACK,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SYSTEM_ERROR_MESSAGE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;MESSAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ORDER BY TO_CHAR (MAX (CREATED_ON), 'YYYY-MM-DD HH24:MI&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S') DESC,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;COUNT (*) DESC,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;CREATED_BY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;ERROR_STACK,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SYSTEM_ERROR_MESSAGE,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;MESSAGE "&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="3"&gt;Sample Data:&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;TABLE&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;MAX_CREATED_ON&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;COUNT_ERROR&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;ERROR_STACK&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;MESSAGE&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;SYSTEM_ERROR_MESSAGE&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;CREATED_BY&lt;/FONT&gt;&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;2018-08-31&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;2096&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;ORA-06512: at "K******.P****", line 2724&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;p**_M****.s**_ca**_s*****_h****(): Caught an unexpected exception. SQLERRM: ORA-02291: integrity constraint (KP****_ST***.FK_C**_C**_S***_H***_S**_L**) violated - parent key not found&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;ORA-02291: integrity constraint (K****_S****.F*_C**_C**_S***_H****_S**_L**) violated - parent key not found&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;TD&gt;&lt;FONT size="2"&gt;KP***_ST***&lt;/FONT&gt;&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The count is a count of how many errors of a particular type are occurring. Our database generally has numbers as BigDecimals/Number types. I also tried having it read as an Integer and it gave me this message:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For input string: "COUNT_ERROR"&lt;BR /&gt;[ERROR]: new_r2_qerror.qerror_instance_2_0.QERROR_INSTANCE - tFileInputExcel_1 - For input string: "COUNT_ERROR"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Talend keeps believing that the count is a String even if I change the data type in the schema in the Oracle Input to Integer or Big Decimal.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am not sure what you mean by log information.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 20:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261625#M42352</guid>
      <dc:creator>daniellesacks</dc:creator>
      <dc:date>2018-09-04T20:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261626#M42353</link>
      <description>In Talend you can easily change to INT in the schema, however your database is not the problem... excel is.
&lt;BR /&gt;What is the real value in excel, and I do not mean the displayed value, place a tLogRow between your lookup excel and your tMap...
&lt;BR /&gt;
&lt;BR /&gt;Did your flow work without excel loopup? no bigdecimal error stuff?
&lt;BR /&gt;check the value for dots and commas.
&lt;BR /&gt;In the advance settings tab of the Excel there;s a checkbox regarding 'Advanced seperator'.
&lt;BR /&gt;And a checkbox read real values for numbers
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2018 20:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261626#M42353</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-09-04T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261627#M42354</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Facing same issue. Is that ur issue solved. Can u post the solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 05:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261627#M42354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-08T05:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261628#M42355</link>
      <description>&lt;P&gt;The issue with Excel ended up being missing jar files. I had to work with the help desk to identify and add the correct ones.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 22:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261628#M42355</guid>
      <dc:creator>daniellesacks</dc:creator>
      <dc:date>2019-12-10T22:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Input for Big Decimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261629#M42356</link>
      <description>&lt;P&gt;Do you know which jar file was missing? I am facing the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 09:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Incorrect-Input-for-Big-Decimal/m-p/2261629#M42356</guid>
      <dc:creator>ShastriV</dc:creator>
      <dc:date>2020-02-06T09:03:02Z</dc:date>
    </item>
  </channel>
</rss>

