<?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: Transform incoming data from toracleinput and output into file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Transform-incoming-data-from-toracleinput-and-output-into-file/m-p/2298248#M70736</link>
    <description>&lt;P&gt;In tmap you could write this code :&lt;/P&gt;&lt;PRE&gt;row1.name == null ? null : row1.name.substring(1,3)&lt;/PRE&gt;&lt;P&gt;The nullpointer exception is raised because the function cant handle null values, if you would put an empty string like "" its possible and thats the reason why first storing it into a file works...&amp;nbsp;&lt;BR /&gt;Make sure your output table can handle null values... because an empty string "" isnt the same as "null"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2018 16:02:54 GMT</pubDate>
    <dc:creator>Jesperrekuh</dc:creator>
    <dc:date>2018-08-08T16:02:54Z</dc:date>
    <item>
      <title>Transform incoming data from toracleinput and output into file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transform-incoming-data-from-toracleinput-and-output-into-file/m-p/2298247#M70735</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;i want to edit the data coming from toracleinput like substring in tmap/ tjavarow and output to file.&lt;/P&gt;
&lt;P&gt;toracleinput -&amp;gt; tmap -&amp;gt; tfileoutputdelimeted&lt;/P&gt;
&lt;P&gt;i am currently getting null pointer exception.&lt;/P&gt;
&lt;P&gt;But this works if i do it in another subjob storing the values first in a file and then transforming the data like below:&lt;/P&gt;
&lt;P&gt;toracleinput -&amp;gt; tfile&lt;/P&gt;
&lt;P&gt;tfileinput -&amp;gt; tmap -&amp;gt; tfileoutput&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i want to directly do it in single step as its consuming time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Adv,&lt;/P&gt;
&lt;P&gt;Hachi&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 14:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transform-incoming-data-from-toracleinput-and-output-into-file/m-p/2298247#M70735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transform incoming data from toracleinput and output into file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transform-incoming-data-from-toracleinput-and-output-into-file/m-p/2298248#M70736</link>
      <description>&lt;P&gt;In tmap you could write this code :&lt;/P&gt;&lt;PRE&gt;row1.name == null ? null : row1.name.substring(1,3)&lt;/PRE&gt;&lt;P&gt;The nullpointer exception is raised because the function cant handle null values, if you would put an empty string like "" its possible and thats the reason why first storing it into a file works...&amp;nbsp;&lt;BR /&gt;Make sure your output table can handle null values... because an empty string "" isnt the same as "null"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transform-incoming-data-from-toracleinput-and-output-into-file/m-p/2298248#M70736</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-08T16:02:54Z</dc:date>
    </item>
  </channel>
</rss>

