<?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: [resolved] Join on tmap and default value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282465#M56657</link>
    <description>Use a tMap to send the incoming data to two different outputs (one with the column and one without) based on whether the incoming value is null or not.</description>
    <pubDate>Tue, 13 Sep 2011 00:52:30 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2011-09-13T00:52:30Z</dc:date>
    <item>
      <title>[resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282459#M56651</link>
      <description>Hi,&lt;BR /&gt;I've made a join into a tmap.&lt;BR /&gt; - table #1: pid, data1&lt;BR /&gt; - table #2: pid, cid&lt;BR /&gt;I'm doing database INSERT : pid( found into #1) + cid (found into #2).&lt;BR /&gt;But data are incomplete. If i don't have a cid, i've to use a default value as cid.&lt;BR /&gt;How can i do ?&lt;BR /&gt;Thanks for help.</description>
      <pubDate>Sat, 16 Nov 2024 13:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282459#M56651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282460#M56652</link>
      <description>If your tMap does a Left Join, then the field cid will be null if there is no match. You can convert that null into some other value by using this expression in the output field:
&lt;BR /&gt;row1.cid == null ? "no cid" : row1.cid
&lt;BR /&gt;(Instead of row1, use the actual name of the input connection.)
&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Wed, 30 Mar 2011 17:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282460#M56652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-30T17:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282461#M56653</link>
      <description>Hi aspiegel,
&lt;BR /&gt;I have the same question but a slight change. How to use database default values instead of specifying our own default values?
&lt;BR /&gt;
&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 08 Sep 2011 21:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282461#M56653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-08T21:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282462#M56654</link>
      <description>Hi
&lt;BR /&gt;Don't add this column on schema when inserting records into table, the default value will be inserted into the column.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Sep 2011 03:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282462#M56654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-09T03:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282463#M56655</link>
      <description>Thanks alot shong. It works.</description>
      <pubDate>Fri, 09 Sep 2011 18:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282463#M56655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-09T18:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282464#M56656</link>
      <description>Hi,&lt;BR /&gt;I have a different situation now for the same question above. I have to compare input values for null and if it is null then I have to load the default value (specified while creating tables) in that column, otherwise source data. So, the question is - if I don't add the column in the output schema then how can I load the data coming from the source. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 12 Sep 2011 16:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282464#M56656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-12T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Join on tmap and default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282465#M56657</link>
      <description>Use a tMap to send the incoming data to two different outputs (one with the column and one without) based on whether the incoming value is null or not.</description>
      <pubDate>Tue, 13 Sep 2011 00:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Join-on-tmap-and-default-value/m-p/2282465#M56657</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-09-13T00:52:30Z</dc:date>
    </item>
  </channel>
</rss>

