<?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: Unexpected output from tInformixInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260453#M41577</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I don't have a personal Informix DB to check your issue quickly. But a quick work around will be to get the data in its original format from DB and do a transformation later in tMap using ISNULL() and .equals() functions.&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;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2019 21:24:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-30T21:24:09Z</dc:date>
    <item>
      <title>Unexpected output from tInformixInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260450#M41574</link>
      <description>&lt;P&gt;I'm attempting to use the tDBInput(Informix) component but I'm seeing weird behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a field in our Informix database with the following values:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;(null)&lt;/LI&gt;
 &lt;LI&gt;(blank or only contains spaces)&lt;/LI&gt;
 &lt;LI&gt;N&lt;/LI&gt;
 &lt;LI&gt;Y&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The query for the&amp;nbsp;tDBInput(Informix) component contains:&lt;/P&gt;
&lt;PRE&gt;case
when trim(var_name) is null then 0
when trim(var_name) = '' then 0
when trim(var_name) = 'N' then 0
when trim(var_name) = 'Y' then 1
else&amp;nbsp;0
end var_name&lt;/PRE&gt;
&lt;P class="p1"&gt;The expected output for this column is 0 or 1. However, for some rows with var_name = (null), (blank), or "N", Talend is outputting a value of 1. When I query Informix directly with a query tool, such as DBeaver, the output is as expected. Only rows with var_name = "Y" result in an output of 1.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;I used the tLogRow component to verify that the output of the&amp;nbsp;tDBInput(Informix) component is producing the incorrect result, rather than somewhere else downstream in the job.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Has anyone else run into something like this?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260450#M41574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected output from tInformixInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260451#M41575</link>
      <description>you may try to cast result as integer into your sql query.</description>
      <pubDate>Wed, 25 Sep 2019 08:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260451#M41575</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-09-25T08:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected output from tInformixInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260452#M41576</link>
      <description>&lt;P&gt;Thanks for the reply Francois! I gave your solution a shot but it didn't work because I wasn't paying enough attention to which environment I was working in. Our prod &amp;amp; non-prod were out of sync which threw me for a loop.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 21:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260452#M41576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-30T21:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected output from tInformixInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260453#M41577</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I don't have a personal Informix DB to check your issue quickly. But a quick work around will be to get the data in its original format from DB and do a transformation later in tMap using ISNULL() and .equals() functions.&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;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 21:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unexpected-output-from-tInformixInput/m-p/2260453#M41577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-30T21:24:09Z</dc:date>
    </item>
  </channel>
</rss>

