<?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 Insert Data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236982#M25552</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello, Can you help me please? I get the following error when trying to insert calculated data into a field. Thank you for your help&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M82l.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138962iE494B9886BF510D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M82l.png" alt="0683p000009M82l.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 794px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7zW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137357i4BB002B6CBC08B03/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7zW.png" alt="0683p000009M7zW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 13:38:11 GMT</pubDate>
    <dc:creator>Kaliana</dc:creator>
    <dc:date>2019-11-04T13:38:11Z</dc:date>
    <item>
      <title>Insert Data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236982#M25552</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, Can you help me please? I get the following error when trying to insert calculated data into a field. Thank you for your help&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M82l.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138962iE494B9886BF510D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M82l.png" alt="0683p000009M82l.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 794px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7zW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137357i4BB002B6CBC08B03/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7zW.png" alt="0683p000009M7zW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 13:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236982#M25552</guid>
      <dc:creator>Kaliana</dc:creator>
      <dc:date>2019-11-04T13:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236983#M25553</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPfnAAG"&gt;@Kaliana&lt;/A&gt;&amp;nbsp;the ternary operator worked fine I used the same one maybe it has something todo with the output step. Did you checked the datatype of the field in DB. Can you post full error message and job pic.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 16:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236983#M25553</guid>
      <dc:creator>Sujay1</dc:creator>
      <dc:date>2019-11-04T16:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236984#M25554</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The data type of the field in DB : Number(20,2)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;And it is in the tmap5 that the error occurs.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 618px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7zl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132399i0E2A0C74B49B321A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7zl.png" alt="0683p000009M7zl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M830.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134235iA038E57DC6A5A4F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M830.png" alt="0683p000009M830.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 05:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236984#M25554</guid>
      <dc:creator>Kaliana</dc:creator>
      <dc:date>2019-11-05T05:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236985#M25555</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPfnAAG"&gt;@Kaliana&lt;/A&gt;from ur screenshot it clearly shows error is at "STR_CONSO_TRANSPORT"(ORACLE OUTPUT as ) as any component which has error is shown at top of the component in talendOS &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; . Can you change the datatype to double in Database as your using double in the tmap and try it out once. If you still think it's DB error to clarify redirect the output to tlogrow to see. My gut feeling says it will log the data properly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 14:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236985#M25555</guid>
      <dc:creator>Sujay1</dc:creator>
      <dc:date>2019-11-05T14:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236986#M25556</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, Thank you for your return. &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In fact, I already modified the fields in tmap. And I changed the type of NUMBER fields (20,2) to (38,2). The problem came from the fact that there were data to compute in forms 0/0 or 0 / null which caused errors of the NaN or Infinity type (in the tlogRow). &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So to solve the problem:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1- I created another job that was updating the null values:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;"UPDATE STR_CONSO_TRANSPORT SET CONSO_COST_BASE = 0 WHERE CONSO_COST_BASE IS NULL" &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2- I added the following conditions in the tmap :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;row22.CONSO_TONNAGE == 0 || row22.CONSO_COST_BASE == 0?: &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;row22.CONSO_TYPE.equals ( "x")?(row22.CONSO_COST_BASE / row22.CONSO_TONNAGE): 0&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 05:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236986#M25556</guid>
      <dc:creator>Kaliana</dc:creator>
      <dc:date>2019-11-06T05:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236987#M25557</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPfnAAG"&gt;@Kaliana&lt;/A&gt;&amp;nbsp;cool as long as its solved. cheers&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-Data/m-p/2236987#M25557</guid>
      <dc:creator>Sujay1</dc:creator>
      <dc:date>2019-11-06T14:27:00Z</dc:date>
    </item>
  </channel>
</rss>

