<?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: Illegal conversion SQL exception in tImapla_Input in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Illegal-conversion-SQL-exception-in-tImapla-Input/m-p/2289291#M62688</link>
    <description>Hi,
&lt;BR /&gt;It seems that t
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;he problem is a mismatch between the Java type of a schema column and the actual returned value from the query.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Would you mind showing us your schema setting screenshot of&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tImpalaInput component&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 22 Aug 2016 04:49:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-22T04:49:53Z</dc:date>
    <item>
      <title>Illegal conversion SQL exception in tImapla_Input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Illegal-conversion-SQL-exception-in-tImapla-Input/m-p/2289290#M62687</link>
      <description>In my job, I create a table which has some string fields and one bigdecimal field. I load data from a file into it. Everything runs fine.&lt;BR /&gt;After loading data, the table looks this is:&lt;BR /&gt;| network_level_1_name | network_level_1_id | network_level_1_hash |&lt;BR /&gt;+----------------------+--------------------+----------------------+------------------&lt;BR /&gt;| abc&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 1:abc&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; | 4437926507370143399&amp;nbsp; |&amp;nbsp;&lt;BR /&gt;network_level_1_hash is of type bigdecimal and other two are of type string.&lt;BR /&gt;When I try to retrieve that data using tImpala_Input with this query:&lt;BR /&gt;"select * from&amp;nbsp;&amp;lt;TABLE NAME&amp;gt;&amp;nbsp;order by&amp;nbsp; day "&lt;BR /&gt;It gives me this error:&lt;BR /&gt;Exception in component tImpalaInput_1&lt;BR /&gt;java.sql.SQLException: Illegal conversion&lt;BR /&gt;at org.apache.hive.jdbc.HiveBaseResultSet.getBigDecimal(HiveBaseResultSet.java:128)&lt;BR /&gt;at tImpalaInput_1Process(comcast_woa_test_rtm.java:6446)&lt;BR /&gt;&lt;BR /&gt;I am using Talend Big Data 6.2.1.&lt;BR /&gt;Can someone tell me why it is getting issues in retrieving a Big Decimal field?</description>
      <pubDate>Sat, 16 Nov 2024 10:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Illegal-conversion-SQL-exception-in-tImapla-Input/m-p/2289290#M62687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal conversion SQL exception in tImapla_Input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Illegal-conversion-SQL-exception-in-tImapla-Input/m-p/2289291#M62688</link>
      <description>Hi,
&lt;BR /&gt;It seems that t
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;he problem is a mismatch between the Java type of a schema column and the actual returned value from the query.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Would you mind showing us your schema setting screenshot of&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tImpalaInput component&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 22 Aug 2016 04:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Illegal-conversion-SQL-exception-in-tImapla-Input/m-p/2289291#M62688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-22T04:49:53Z</dc:date>
    </item>
  </channel>
</rss>

