<?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: cannot convert int to bigdecimal in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230021#M20786</link>
    <description>In this case try to use tConvertType before pointing the source (you can't convert ) into tMap.&lt;BR /&gt;tConvertType converts your colums automatically (by setting the option in components properties) and lets you change data types in a flow.</description>
    <pubDate>Tue, 10 May 2011 11:05:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-10T11:05:08Z</dc:date>
    <item>
      <title>cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230016#M20781</link>
      <description>DB: SQL Server
&lt;BR /&gt;I am using tMap component to transform data from source to Destination in SQL Server.
&lt;BR /&gt;Its throwing the error as "Type mismatch: cannot convert from int to BigDecimal"
&lt;BR /&gt;Any help on achiving this?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;-Teja</description>
      <pubDate>Sat, 16 Nov 2024 13:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230016#M20781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230017#M20782</link>
      <description>may be you are trying to convert (or assigning) an INT to BigDecimal.  check your schema.&lt;BR /&gt;or else post a scr shot of your job.</description>
      <pubDate>Fri, 04 Mar 2011 20:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230017#M20782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-04T20:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230018#M20783</link>
      <description>in the image I can see that "fieldnumber" 2nd column is wrongly mapped... in the input schema you mapped it to int and in the ouput schema it is BigDecimal. 
&lt;BR /&gt;check that</description>
      <pubDate>Fri, 04 Mar 2011 20:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230018#M20783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-04T20:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230019#M20784</link>
      <description>hi,&lt;BR /&gt;I think you cannot cast a 'int' value into bigdecimal implicitlty .&lt;BR /&gt;Try and use java method : &lt;A href="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html#BigDecimal%28int%29" target="_blank" rel="nofollow noopener noreferrer"&gt;public BigDecimal(int val)&lt;/A&gt;&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Sat, 05 Mar 2011 10:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230019#M20784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-05T10:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230020#M20785</link>
      <description>Hi! 
&lt;BR /&gt;I have the same problem as him... 
&lt;BR /&gt;I have a BigDecimal 'BPP_TYPE' in my table (row1), that I want to test : 
&lt;BR /&gt;=&amp;gt; If it is equal to 1, I will write "Physique" instead 
&lt;BR /&gt;=&amp;gt; If it is not (0 or NULL), I will write "Morale" 
&lt;BR /&gt;So, I switch from BigDecimal (row1) to String (output of my tmap) 
&lt;BR /&gt;In my tmap, I first had the following expression in the Var field : 
&lt;BR /&gt;row1.BPP_TYPE==1?"Physique":"Morale" 
&lt;BR /&gt;Obviously it doesn't work, so I changed it to : 
&lt;BR /&gt;row1.BPP_TYPE==BigDecimal(1)?"Physique":"Morale" 
&lt;BR /&gt;That doesn't work neither... 
&lt;BR /&gt;My problem is that I don't know how to import/create java methods (as BigDecimal(int)) in my job... Any Help? Thanks!</description>
      <pubDate>Tue, 10 May 2011 10:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230020#M20785</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-05-10T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230021#M20786</link>
      <description>In this case try to use tConvertType before pointing the source (you can't convert ) into tMap.&lt;BR /&gt;tConvertType converts your colums automatically (by setting the option in components properties) and lets you change data types in a flow.</description>
      <pubDate>Tue, 10 May 2011 11:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230021#M20786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T11:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230022#M20787</link>
      <description>...or just use the entry below and modify it for your field to be converted in tMap:
&lt;BR /&gt;new BigDecimal(Integer.toString(yourInputRow.yourField))</description>
      <pubDate>Tue, 10 May 2011 11:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230022#M20787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230023#M20788</link>
      <description>Hi again! 
&lt;BR /&gt;I solved my problem, changing the preferences of Talend (Window&amp;gt;Preferences). 
&lt;BR /&gt;I changed the xml file of Oracle mapping, allowing number cast to integer et not BigDecimal... It is so much easier to do any modification then! 
&lt;BR /&gt;I followed this exemple, "V. Définir les types de variables" (in French sorry...) : 
&lt;BR /&gt; 
&lt;A href="http://jsdarges.developpez.com/tutoriels/bi/bien-debuter-projet-talend/" rel="nofollow noopener noreferrer"&gt;http://jsdarges.developpez.com/tutoriels/bi/bien-debuter-projet-talend/&lt;/A&gt;</description>
      <pubDate>Tue, 10 May 2011 11:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230023#M20788</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-05-10T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: cannot convert int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230024#M20789</link>
      <description>Justine,&lt;BR /&gt;  Could you show us what you did?  I have a similar issue -- I am getting Java error converting an MS SQL identity column to an INT...&lt;BR /&gt;Cheers.</description>
      <pubDate>Tue, 21 Jun 2011 15:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cannot-convert-int-to-bigdecimal/m-p/2230024#M20789</guid>
      <dc:creator>tale103108</dc:creator>
      <dc:date>2011-06-21T15:32:47Z</dc:date>
    </item>
  </channel>
</rss>

