<?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 Issue with data type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371128#M134099</link>
    <description>&lt;P&gt;Hi There,&lt;BR /&gt;I am using Datastage from last few years. I am analysing Talend and till now finding it quite good. I am stuck in defining a data type - &lt;BR /&gt;I am using following query in Oracle tOracleInput :&lt;BR /&gt;NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),'12') CAMPAIGN_MNTH&lt;BR /&gt;CAMPAIGN_MNTH is defined as integer but it gives data type error - &lt;BR /&gt;Exception in component tOracleInput_1&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation&lt;BR /&gt;----&lt;BR /&gt;To counter issue I modified query to &lt;BR /&gt;to_char(NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),'12')) CAMPAIGN_MNTH now getting this error:-&lt;BR /&gt;ORA-01722: invalid number&lt;BR /&gt;---&lt;BR /&gt;I tried all data types but no luck.. So its not handling in short. Please advice what needs to be done.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 13:50:50 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T13:50:50Z</dc:date>
    <item>
      <title>Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371128#M134099</link>
      <description>&lt;P&gt;Hi There,&lt;BR /&gt;I am using Datastage from last few years. I am analysing Talend and till now finding it quite good. I am stuck in defining a data type - &lt;BR /&gt;I am using following query in Oracle tOracleInput :&lt;BR /&gt;NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),'12') CAMPAIGN_MNTH&lt;BR /&gt;CAMPAIGN_MNTH is defined as integer but it gives data type error - &lt;BR /&gt;Exception in component tOracleInput_1&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation&lt;BR /&gt;----&lt;BR /&gt;To counter issue I modified query to &lt;BR /&gt;to_char(NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),'12')) CAMPAIGN_MNTH now getting this error:-&lt;BR /&gt;ORA-01722: invalid number&lt;BR /&gt;---&lt;BR /&gt;I tried all data types but no luck.. So its not handling in short. Please advice what needs to be done.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371128#M134099</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371129#M134100</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;please try:&lt;/P&gt; 
&lt;PRE&gt;"select NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),12)  from yourTableName"&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2009 09:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371129#M134100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-04T09:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371130#M134101</link>
      <description>&lt;P&gt;Hi Shong,&lt;BR /&gt;Thanks for you reply.&lt;BR /&gt;It works very well when I use only that statement. Actually this statement is a part of my bit big query:&lt;BR /&gt;"select to_char(CP_ID) CAMPAIGN_CODE, trim(CP_NAME) CAMPAIGN_NAME, &lt;BR /&gt;NVL(CP_DESC, '-=-') CAMPAIGN_DESC, &lt;BR /&gt;CP_DESC CAMPAIGN_DESC_Out,&lt;BR /&gt;NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),12) CAMPAIGN_MNTH,&lt;BR /&gt;SOURCE_RECORD_ID &lt;BR /&gt;from (&lt;BR /&gt;SELECT CP_ID,CP_NAME,CP_DESC,CAMPAIGN_START_DATE,SOURCE_RECORD_ID &lt;BR /&gt;FROM CP_SRC WHERE (upper(CP_name) like '%SQ%' or upper(CP_NAME) like '%SM_SQ%' or upper(CP_desc) like '%CM%') AND upper(CP_NAME) NOT LIKE '%C3S%' &lt;BR /&gt;union&lt;BR /&gt;SELECT TAG_ID,TAG_NAME,TAG_DESCRIPTION,TAG_START_DATE,SOURCE_RECORD_ID &lt;BR /&gt;FROM MIT_arc_TAG_src WHERE (upper(CP_name) like '%SQ%' or upper(CP_desc) like '%SMM_1WQ%' or upper(CP_NAME) like '%CM%') AND upper(CP_NAME) NOT LIKE '%C3S%') "&lt;BR /&gt;When I remove NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),12) CAMPAIGN_MNTH from query it works flawlessly but once its in it gives error:&lt;BR /&gt;Exception in component tOracleInput_1&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation&lt;BR /&gt;Initially I thought that statement does not work but on your suggestion when I tried it in individual job without quote it worked well. Its just not working in query. This statement is copied from Datastage job which works fine.&lt;BR /&gt;Thanks mate&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2009 01:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371130#M134101</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-08-05T01:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371131#M134102</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;What's the data type of schema for CAMPAIGN_MNTH column? Can you check your schema mapping?&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2009 03:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371131#M134102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-05T03:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371132#M134103</link>
      <description>&lt;P&gt;Hi Shong,&lt;BR /&gt;Campaign_Mnth is populated by NVL(EXTRACT(MONTH FROM CAMPAIGN_START_DATE),12) CAMPAIGN_MNTH. Campaign_Start_Date is Date datatype and I have defined Campaign_Mnth as integer.&lt;BR /&gt;Thats the complete error log:&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tOracleInput_1&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation&lt;BR /&gt; at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)&lt;BR /&gt; at oracle.jdbc.driver.CharCommonAccessor.getInt(CharCommonAccessor.java:141)&lt;BR /&gt; at oracle.jdbc.driver.T4CVarcharAccessor.getInt(T4CVarcharAccessor.java:779)&lt;BR /&gt; at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:712)&lt;BR /&gt; at test.cp_stg_frmwrk_0_1.CP_STG_FRMWRK.tOracleInput_1Process(CP_STG_FRMWRK.java:876)&lt;BR /&gt; at test.cp_stg_frmwrk_0_1.CP_STG_FRMWRK.tOracleConnection_1Process(CP_STG_FRMWRK.java:259)&lt;BR /&gt; at test.cp_stg_frmwrk_0_1.CP_STG_FRMWRK.runJobInTOS(CP_STG_FRMWRK.java:1232)&lt;BR /&gt; at test.cp_stg_frmwrk_0_1.CP_STG_FRMWRK.main(CP_STG_FRMWRK.java:1141)&lt;BR /&gt; disconnected&lt;BR /&gt;Job CP_STG_FRMWRK ended at 14:13 05/08/2009. &lt;BR /&gt;&lt;BR /&gt;Appreciate your support mate,&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2009 05:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371132#M134103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-05T05:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371133#M134104</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;Please export your job(right click on the job name and select 'export item' option in Repository) and send it to me. I will debug the job.&lt;BR /&gt;Best regards&lt;BR /&gt; &lt;BR /&gt; shong&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2009 08:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371133#M134104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-05T08:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371134#M134105</link>
      <description>&lt;P&gt;Hi Shong,&lt;BR /&gt;Thanks for your help mate.&lt;BR /&gt;I sent mail to you with job as attachment. I have removed some info as I am testing Talend as an option for future ETL in my company by testing performance and ease by developing Datastage jobs in Talend.&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2009 00:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371134#M134105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-06T00:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371135#M134106</link>
      <description>&lt;P&gt;Hello guy&lt;BR /&gt;I have imported your job and found that you don't have correct schema mapping, see my screenshot.&lt;BR /&gt;Best regards&lt;BR /&gt; &lt;BR /&gt; shong&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2009 03:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371135#M134106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-06T03:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371136#M134107</link>
      <description>&lt;P&gt;Thanks a lot Mate,&lt;BR /&gt;I never thought that Talend needs column names in sync to the way they used in query. I thought it will catch destination names according to the column names used in query.&lt;BR /&gt;I am analysing this tool to propose for future works. I may be asking for help in future. &lt;BR /&gt;Best Regards&lt;BR /&gt;Amit&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2009 05:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371136#M134107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-06T05:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371137#M134108</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am running a job in Talendand it gives me this error&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"Exception in component tDBInput_1 (MATT_NEW)&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation&lt;BR /&gt;at oracle.jdbc.driver.CharCommonAccessor.getBigDecimal(CharCommonAccessor.java:414)&lt;BR /&gt;at oracle.jdbc.driver.OracleResultSetImpl.getBigDecimal(OracleResultSetImpl.java:548)&lt;BR /&gt;at local_project.matt_new_0_1.MATT_NEW.tDBInput_1Process(MATT_NEW.java:3628)&lt;BR /&gt;at local_project.matt_new_0_1.MATT_NEW.tDBConnection_1Process(MATT_NEW.java:707)&lt;BR /&gt;at local_project.matt_new_0_1.MATT_NEW.runJobInTOS(MATT_NEW.java:10822)&lt;BR /&gt;at local_project.matt_new_0_1.MATT_NEW.main(MATT_NEW.java:10584)"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have check every field and still dont understand why am i getting this error. Can you please help me with this asap?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Alekhya&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371137#M134108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-14T05:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371138#M134109</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPLZAA4"&gt;@Alekhya05&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It has something to do with your data type in input DB (which seems to be in Big Decimal format) and the output String format.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Before going to other details, I would request you to put your query to a new post. The current post is 10 years old and is a closed post. So if you put a totally different subject in same post, it will dilute the purpose of creating multiple posts for each query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope you understands.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 14:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371138#M134109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-15T14:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371139#M134110</link>
      <description>&lt;P&gt;Sure, thanks Nikhil. I have that query resolved. But have another question which I think I have posted already about Data Truncation error in Talend. I will post that as a new post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371139#M134110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-15T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371140#M134111</link>
      <description>&lt;P&gt;Hi shong,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;can you please help me with this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Exception in component tOracleInput_1&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation&lt;BR /&gt;at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)&lt;BR /&gt;at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)&lt;BR /&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)&lt;BR /&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)&lt;BR /&gt;at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:403)&lt;BR /&gt;at oracle.jdbc.driver.CharCommonAccessor.getBigDecimal(CharCommonAccessor.java:357)&lt;BR /&gt;at oracle.jdbc.driver.OracleResultSetImpl.getBigDecimal(OracleResultSetImpl.java:426)&lt;BR /&gt;at local_project.v8_cust_0_1.v8_cust.tOracleInput_1Process(v8_cust.java:3468)&lt;BR /&gt;at local_project.v8_cust_0_1.v8_cust.runJobInTOS(v8_cust.java:5097)&lt;BR /&gt;at local_project.v8_cust_0_1.v8_cust.main(v8_cust.java:4954)&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;Job v8_cust ended at 09:44 18/06/2019. [exit code=1]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 09:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-data-type/m-p/2371140#M134111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-18T09:04:41Z</dc:date>
    </item>
  </channel>
</rss>

