<?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: concatenate 2 or more columns with a null value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/concatenate-2-or-more-columns-with-a-null-value/m-p/2335793#M104313</link>
    <description>Hello 
&lt;BR /&gt;You need covert null to "" first, add another tMap to do this.eg: 
&lt;BR /&gt;tFileInputDelimited-row1-tMap--tMap-row2--tLogRow 
&lt;BR /&gt;On the first tMap, convert null to "" like this: 
&lt;BR /&gt;on the expression of col3 column, type in 
&lt;BR /&gt;row1.col3==null?"":row1.col3 
&lt;BR /&gt;on the second tMap, concatenate columns: 
&lt;BR /&gt;row2.col1+" "+row2.col2+" "+row2.col3 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
    <pubDate>Wed, 14 Oct 2009 04:38:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-14T04:38:45Z</dc:date>
    <item>
      <title>concatenate 2 or more columns with a null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/concatenate-2-or-more-columns-with-a-null-value/m-p/2335792#M104312</link>
      <description>I can't find how to concatenate 2 or more columns with a null value.
&lt;BR /&gt;for example:
&lt;BR /&gt;col1 col2 col3
&lt;BR /&gt;one two (empty)
&lt;BR /&gt;one (empty) (emplty)
&lt;BR /&gt;
&lt;BR /&gt;i tried col1+" "col2+" "+ col3 in tmap and it gave me "one two null". I just want "one two" without a null. How can i accomplish this.
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 13:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/concatenate-2-or-more-columns-with-a-null-value/m-p/2335792#M104312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate 2 or more columns with a null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/concatenate-2-or-more-columns-with-a-null-value/m-p/2335793#M104313</link>
      <description>Hello 
&lt;BR /&gt;You need covert null to "" first, add another tMap to do this.eg: 
&lt;BR /&gt;tFileInputDelimited-row1-tMap--tMap-row2--tLogRow 
&lt;BR /&gt;On the first tMap, convert null to "" like this: 
&lt;BR /&gt;on the expression of col3 column, type in 
&lt;BR /&gt;row1.col3==null?"":row1.col3 
&lt;BR /&gt;on the second tMap, concatenate columns: 
&lt;BR /&gt;row2.col1+" "+row2.col2+" "+row2.col3 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 14 Oct 2009 04:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/concatenate-2-or-more-columns-with-a-null-value/m-p/2335793#M104313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-14T04:38:45Z</dc:date>
    </item>
  </channel>
</rss>

