<?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: Convert types with null values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197541#M1246</link>
    <description>Hi&amp;nbsp; 
&lt;BR /&gt;I tested and got the same issue, can you please report a jira issue on our bugtracker? As a workaround, you can use tMap to convert the data type from string to BigDecimal, and get the reject lines, see 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20151023-1652.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBnD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150570i3C7AFE6EC3E5E377/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBnD.png" alt="0683p000009MBnD.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/2_20151023-1652.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBzb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150504i650A02236ACC596F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBzb.png" alt="0683p000009MBzb.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Shong</description>
    <pubDate>Fri, 23 Oct 2015 15:53:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-23T15:53:11Z</dc:date>
    <item>
      <title>Convert types with null values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197538#M1243</link>
      <description>Hi,
&lt;BR /&gt;I have an excel file which I need to load in a MSSQL table.
&lt;BR /&gt;To do so I have defined an excel schema with all columns as string(1023), I then use the component tConvertType and load it to the table. The schema of convertType is the same as the table, which means that my schema is typed (numeric...), all the schema allow null values.
&lt;BR /&gt;In the excel input component I have checked : trim all columns.
&lt;BR /&gt;In the ConvertType I checked :
&lt;BR /&gt;- Auto Cast
&lt;BR /&gt;- Set empty values to Null before converting
&lt;BR /&gt;When I run the job lines with null values go to the reject flow. I don't understand this, why converting a null string to a null big decimal fails ? Am I using the wrong component ?
&lt;BR /&gt;Update : My fault, it is working, I haven't seen but the problem was caused by #N/A.
&lt;BR /&gt;One question, the fact that the reject doesn't contain the input row values, and was saying variable:null is quite annoying, is it possible to see the original values in the reject, to be able to understand why the conversion fail ?</description>
      <pubDate>Tue, 20 Oct 2015 09:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197538#M1243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T09:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Convert types with null values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197539#M1244</link>
      <description>What is the error message? It should show something as below, it contains the real value in the column.&lt;BR /&gt;newColumn:For input string: "na12" - Line: 3</description>
      <pubDate>Tue, 20 Oct 2015 12:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197539#M1244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Convert types with null values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197540#M1245</link>
      <description>No it doesn't. My excel file has a column with numbers formatted with a comma as the delimiter for thousands (I load everything as string) . the error I get when I am try to convert the string 2,454.05451547 to big decimal (20,10) is :
&lt;BR /&gt;
&lt;TABLE&gt;
 &lt;TBODY&gt;
  &lt;TR&gt;
   &lt;TD&gt;PortTotalReturn:null - Line: 24&lt;/TD&gt;
  &lt;/TR&gt;
 &lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197540#M1245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-20T14:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Convert types with null values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197541#M1246</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;I tested and got the same issue, can you please report a jira issue on our bugtracker? As a workaround, you can use tMap to convert the data type from string to BigDecimal, and get the reject lines, see 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20151023-1652.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBnD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150570i3C7AFE6EC3E5E377/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBnD.png" alt="0683p000009MBnD.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/2_20151023-1652.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBzb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150504i650A02236ACC596F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBzb.png" alt="0683p000009MBzb.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 23 Oct 2015 15:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-types-with-null-values/m-p/2197541#M1246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T15:53:11Z</dc:date>
    </item>
  </channel>
</rss>

