<?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 Automatically update newly added columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Automatically-update-newly-added-columns/m-p/2198578#M1852</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;I am looking for guidance, if the following routine can be automatized in Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have multiple Redshift tables, which are already containing billions of records, but sometimes I need to add new columns. All of the added columns should be NOT NULL and it must not have a default value. The workaround that we currently have, is that we implement the new columns with NOT NULL and a default value, then we are populating the column with data, after that we are creating a new table with the same columns, but without the default value, then we are loading everything from the source table to the newly created one, then we are dropping the original table, and renaming the newly created table.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So the steps are the following:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;Adding new column with NOT NULL DEFAULT = something&lt;/LI&gt; 
 &lt;LI&gt;Update new column with data&lt;/LI&gt; 
 &lt;LI&gt;Create new database with same columns as the original one, but the new column are NOT NULL without default&lt;/LI&gt; 
 &lt;LI&gt;Inserting everyhing from original table to the new table&lt;/LI&gt; 
 &lt;LI&gt;Dropping the old table&lt;/LI&gt; 
 &lt;LI&gt;Renaming the new table&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to automatize this procedure?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 15:53:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-26T15:53:19Z</dc:date>
    <item>
      <title>Automatically update newly added columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Automatically-update-newly-added-columns/m-p/2198578#M1852</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;I am looking for guidance, if the following routine can be automatized in Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have multiple Redshift tables, which are already containing billions of records, but sometimes I need to add new columns. All of the added columns should be NOT NULL and it must not have a default value. The workaround that we currently have, is that we implement the new columns with NOT NULL and a default value, then we are populating the column with data, after that we are creating a new table with the same columns, but without the default value, then we are loading everything from the source table to the newly created one, then we are dropping the original table, and renaming the newly created table.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So the steps are the following:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;Adding new column with NOT NULL DEFAULT = something&lt;/LI&gt; 
 &lt;LI&gt;Update new column with data&lt;/LI&gt; 
 &lt;LI&gt;Create new database with same columns as the original one, but the new column are NOT NULL without default&lt;/LI&gt; 
 &lt;LI&gt;Inserting everyhing from original table to the new table&lt;/LI&gt; 
 &lt;LI&gt;Dropping the old table&lt;/LI&gt; 
 &lt;LI&gt;Renaming the new table&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to automatize this procedure?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 15:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Automatically-update-newly-added-columns/m-p/2198578#M1852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-26T15:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically update newly added columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Automatically-update-newly-added-columns/m-p/2198579#M1853</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 08:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Automatically-update-newly-added-columns/m-p/2198579#M1853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T08:54:15Z</dc:date>
    </item>
  </channel>
</rss>

