<?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 Identify and Eliminate non-numeric data while loading in to Target column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276133#M52309</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt; 
&lt;P&gt;I have a scenario where Im loading data from a source column which is in STRING format and loading that to target column which is big decimal.&lt;/P&gt; 
&lt;P&gt;I am handling the string to bigdecimal conversion in TMAP.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M84S.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134318i12E6AB661B871CC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M84S.png" alt="0683p000009M84S.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have 23 million records in total and talend job loads till 22 million records and errors out with below error.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7a7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151348i2264C15B9612F9DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7a7.png" alt="0683p000009M7a7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Looks like my source column has data other than numeric characters and hence thats the reason for error. &lt;STRONG&gt;I deleted that one record from the source column but Im still facing the error.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 408px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7sq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153240i354CAA11802CA2C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7sq.png" alt="0683p000009M7sq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Please help me how to handle this scenario. The data should be loaded in to target only if the data is numeric.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank You.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:30:22 GMT</pubDate>
    <dc:creator>DEV4</dc:creator>
    <dc:date>2024-11-16T04:30:22Z</dc:date>
    <item>
      <title>Identify and Eliminate non-numeric data while loading in to Target column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276133#M52309</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt; 
&lt;P&gt;I have a scenario where Im loading data from a source column which is in STRING format and loading that to target column which is big decimal.&lt;/P&gt; 
&lt;P&gt;I am handling the string to bigdecimal conversion in TMAP.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M84S.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134318i12E6AB661B871CC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M84S.png" alt="0683p000009M84S.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have 23 million records in total and talend job loads till 22 million records and errors out with below error.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7a7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151348i2264C15B9612F9DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7a7.png" alt="0683p000009M7a7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Looks like my source column has data other than numeric characters and hence thats the reason for error. &lt;STRONG&gt;I deleted that one record from the source column but Im still facing the error.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 408px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7sq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153240i354CAA11802CA2C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7sq.png" alt="0683p000009M7sq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Please help me how to handle this scenario. The data should be loaded in to target only if the data is numeric.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276133#M52309</guid>
      <dc:creator>DEV4</dc:creator>
      <dc:date>2024-11-16T04:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and Eliminate non-numeric data while loading in to Target column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276134#M52310</link>
      <description>You can validate the value with a regex for both concerned fields using a filter expression for the input flow in your tMap.
&lt;BR /&gt;Search for "Java regex bigdecimal" to get regex examples.</description>
      <pubDate>Tue, 01 Oct 2019 20:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276134#M52310</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-01T20:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and Eliminate non-numeric data while loading in to Target column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276135#M52311</link>
      <description>&lt;P&gt;Thanks for the reply TRF.&lt;/P&gt; 
&lt;P&gt;I saw below reply of yours in a different thread.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M84c.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150257i4C745C1F7C939C10/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M84c.png" alt="0683p000009M84c.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Based on that, Can I use below code in my tmap?&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;row10.code.replaceAll("[+].*$", "").replaceAll("[A-Z]", "").replaceAll("[a-z]", "")&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please suggest.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 21:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276135#M52311</guid>
      <dc:creator>DEV4</dc:creator>
      <dc:date>2019-10-01T21:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and Eliminate non-numeric data while loading in to Target column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276136#M52312</link>
      <description>That will replace non-numeric character from input so it can help if you accept to change the initial value before to convert to bigdecimal. However if you want to exclude invalid values, you need a regex to ensure what you have is compatible with bigdecimal data type.
&lt;BR /&gt;Something like the following should return true or false depending on what yourField is made of:
&lt;BR /&gt;row1.yourField.toPlainString().matches("-?+\\d+(\\.0*)?")
&lt;BR /&gt;This one can be used as a tMap filter expression.</description>
      <pubDate>Tue, 01 Oct 2019 22:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276136#M52312</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-01T22:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and Eliminate non-numeric data while loading in to Target column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276137#M52313</link>
      <description>&lt;P&gt;Thanks TRF. client was ok to replace non-numeric character from input data iteslf and hence followed the method you mentioned earlier.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 17:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-and-Eliminate-non-numeric-data-while-loading-in-to/m-p/2276137#M52313</guid>
      <dc:creator>DEV4</dc:creator>
      <dc:date>2019-10-02T17:57:01Z</dc:date>
    </item>
  </channel>
</rss>

