<?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: How to set default integer value for a column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374562#M137145</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you create output column in tMap then use default value in expression.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Default.PNG" style="width: 561px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwt9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158110i35EF42480F0B953B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwt9.png" alt="0683p000009Lwt9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2018 19:32:36 GMT</pubDate>
    <dc:creator>vboppudi</dc:creator>
    <dc:date>2018-04-19T19:32:36Z</dc:date>
    <item>
      <title>How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374555#M137138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to set the default value of the certain column to 1. Should I make the change in the input file by defining the default value as "1".&lt;/P&gt; 
&lt;P&gt;I tried couple of combinations by making it as 1, or "1", change the field type to String. But nothing works.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How do I set value&amp;nbsp;to 1..? Thanks!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwqt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131221i7C21A5D9F2A47785/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwqt.png" alt="0683p000009Lwqt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 03:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374555#M137138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T03:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374556#M137139</link>
      <description>Hi 
&lt;BR /&gt;Why you need to change the default value? Normally, the default value only works when creating tables on DB output component. 
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 19 Apr 2018 05:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374556#M137139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T05:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374557#M137140</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a business scenario where they want one of the columns to have default value set to 1.&lt;/P&gt;
&lt;P&gt;Is there no way we can do it in Talend..? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374557#M137140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T05:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374558#M137141</link>
      <description>Can't you set it to 1 manually? Or you want to read this value from somewhere and set it?&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374558#M137141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T05:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374559#M137142</link>
      <description>&lt;P&gt;Can you try in tmap expression like&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;row1.fieldname== null ? 1 :&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;row1.fieldnam&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwQo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153694i02B3E58D299A83F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwQo.png" alt="0683p000009LwQo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374559#M137142</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-04-19T05:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374560#M137143</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LL7NAAW"&gt;@KanT&lt;/A&gt;,i have tested default value for integer coumn working fine,i believe your file might have spaces,please check.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i am attacing input file and screenshoots.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 550px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwfS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140744i6270E07CAA41C161/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwfS.png" alt="0683p000009LwfS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 331px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwYI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129482iBDFC4E4A83CAD90C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwYI.png" alt="0683p000009LwYI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 611px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwrD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148906i6EBE9D834855FEEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwrD.png" alt="0683p000009LwrD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lsi2"&gt;test.txt&lt;/A&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374560#M137143</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-04-19T05:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374561#M137144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So this column is a new column and doesn't exist in the input file but I added it in output file.&lt;/P&gt; 
&lt;P&gt;so, I add the column in output of tmap. and in Tmap&amp;nbsp;try to set it default value&amp;nbsp;to 1. It doesn't work.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;can I not set default values in Tmap?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwn2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149095iD4B14437534C3D9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwn2.png" alt="0683p000009Lwn2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374561#M137144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T19:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374562#M137145</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you create output column in tMap then use default value in expression.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Default.PNG" style="width: 561px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwt9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158110i35EF42480F0B953B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwt9.png" alt="0683p000009Lwt9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374562#M137145</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-04-19T19:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set default integer value for a column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374563#M137146</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LL7NAAW"&gt;@KanT&lt;/A&gt;,you cannot set the default value for the column which not having input in tmap,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;since you see harcode the value under Expression of Output section.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 08:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-default-integer-value-for-a-column/m-p/2374563#M137146</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-22T08:50:13Z</dc:date>
    </item>
  </channel>
</rss>

