<?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 default values in hive table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/default-values-in-hive-table/m-p/2208756#M7864</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 5 hive tables and I m trying to union them. The schema of the 5 tables is same. but i need to add a static field in each table&amp;nbsp;i.e. region code. For first table, this static field will contain value = MN, second table region code = AB etc.&lt;/P&gt;&lt;P&gt;All the 5 schemas are built-in so i added a field"region_cd" in the end and set default value for each.&lt;/P&gt;&lt;P&gt;now when i tunite them and output them, region_code field doesnt&amp;nbsp;get populated for any file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can u pls let me know why..? or any other way to do it..?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:36:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:36:56Z</dc:date>
    <item>
      <title>default values in hive table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/default-values-in-hive-table/m-p/2208756#M7864</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 5 hive tables and I m trying to union them. The schema of the 5 tables is same. but i need to add a static field in each table&amp;nbsp;i.e. region code. For first table, this static field will contain value = MN, second table region code = AB etc.&lt;/P&gt;&lt;P&gt;All the 5 schemas are built-in so i added a field"region_cd" in the end and set default value for each.&lt;/P&gt;&lt;P&gt;now when i tunite them and output them, region_code field doesnt&amp;nbsp;get populated for any file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can u pls let me know why..? or any other way to do it..?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/default-values-in-hive-table/m-p/2208756#M7864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: default values in hive table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/default-values-in-hive-table/m-p/2208757#M7865</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can pass the output of each hive table to a tmap. In the tmap, you can add the static column as an additional column in the output schema. After this stage, you can do tunite to merge all the tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If the reply has helped you, could you please mark the topic as resolved? Kudos are also welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 05:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/default-values-in-hive-table/m-p/2208757#M7865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T05:45:47Z</dc:date>
    </item>
  </channel>
</rss>

