<?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: Identify new columns in excel file  &amp; load into redshift db in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321529#M91551</link>
    <description>&lt;P&gt;you can use "Dynamic" Schema if you are using licensed version of Talend.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 08:43:30 GMT</pubDate>
    <dc:creator>Prakhar1</dc:creator>
    <dc:date>2021-01-28T08:43:30Z</dc:date>
    <item>
      <title>Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321528#M91550</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a scenario where I am trying to load all the columns from excel to redshift &amp;amp; delete the excel at the end of job &lt;/P&gt;&lt;P&gt;excel file gets generated everyday &amp;amp; sometimes new columns gets added in b/w the excel file.&lt;/P&gt;&lt;P&gt;For instance : excel has three columns and fourth column gets added in b/w Id &amp;amp; address&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;name        Id address&lt;/P&gt;&lt;P&gt;moderna   6     UK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do you I identify these new columns &amp;amp; either load all the columns including the new columns into redshift or Notify in an email&lt;/P&gt;&lt;P&gt;my job flow - tfileexcelinput -&amp;gt; tmap -&amp;gt; tdboutput &lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321528#M91550</guid>
      <dc:creator>Tina3</dc:creator>
      <dc:date>2024-11-16T00:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321529#M91551</link>
      <description>&lt;P&gt;you can use "Dynamic" Schema if you are using licensed version of Talend.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 08:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321529#M91551</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-28T08:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321530#M91552</link>
      <description>&lt;P&gt;Thank you prakhar.&lt;/P&gt;&lt;P&gt;We use a licensed version.can you guide me through the job flow or any documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 03:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321530#M91552</guid>
      <dc:creator>Tina3</dc:creator>
      <dc:date>2021-01-29T03:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321531#M91553</link>
      <description>&lt;P&gt;https://community.talend.com/s/article/Which-components-provide-the-Dynamic-Schema-feature-TBe8P#:~:text=Dynamic%20Schema%20is%20an%20advanced,the%20data%20to%20be%20handled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer above link.&lt;/P&gt;&lt;P&gt;Let me know for further support&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 04:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321531#M91553</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-29T04:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321532#M91554</link>
      <description>&lt;P&gt;Is tfileexcelinput is supported by dynamic schema?.I don’t see that in the list &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 04:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321532#M91554</guid>
      <dc:creator>Tina3</dc:creator>
      <dc:date>2021-01-29T04:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321533#M91555</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The dynamic schema is a very powerful feature which allows you to have the name of the columns on the fly without prior definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, if I understood your use case correctly, it cannot be used directly because  the data is inserted into an existing table so it will have to be created at each execution and you will lose the already existing data. if not then you stopped reading&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you already have a table in your database and you insert a new file with new columns, then here is an approach:&lt;/P&gt;&lt;P&gt;- Retrieve the columns of your target table (information_schema or a similar schema). Store this in memory ==&amp;gt; tHashOutput&lt;/P&gt;&lt;P&gt;- Retrieve the columns of your Excel or CSV file. either from external metadata or by reading for example the file with a limit 1 and header 0. So, you will have a line with the name of the columns.&lt;/P&gt;&lt;P&gt;you can use a tExtractdynamicFields component with java code to extract column names too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have both, capitalize everything, tMap two tHashInput and you get the join reject. ==&amp;gt; Extra columns in your file. you recep these columns, you concatenate them with strings like "ALTER TABLE + var_global_table_name + ADD COLUMN" columnName ". then you execute that in a tDBRow and after you can get the data and insert it&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 20:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321533#M91555</guid>
      <dc:creator>JohnRMK</dc:creator>
      <dc:date>2021-01-31T20:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321534#M91556</link>
      <description>&lt;P&gt;Sure it does, I use it in my jobs.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 05:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321534#M91556</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-02-01T05:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321535#M91557</link>
      <description>&lt;P&gt;Thank you John for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i was able to successfully retrieve the dynamic schema from excel using tfileexcelinput &amp;amp; load into tfileoutputdelimited file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have to load these dynamic columns to redshift &amp;amp; I don’t have to store previous data or table schema of redshift.i can drop and recreate the table if exists&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do I map these dynamically generated tfileoutputdelimited file to tmap and tdboutput to retrieve the latest metdata.below is my workflow &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tfileexcelinput (load only dynamic columns from a excel sheet) ——&amp;gt; tfileoutputdelimited —&amp;gt; on component ok —&amp;gt; tfileinputdelimited —&amp;gt; tmap ——&amp;gt; tdboutput &lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321535#M91557</guid>
      <dc:creator>Tina3</dc:creator>
      <dc:date>2021-02-01T10:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321536#M91558</link>
      <description>&lt;P&gt;Thank you prakhar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are right.Currently i am reading all the current columns as a single dynamic column and loading it as CSV output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do feed this newly changed schema to tmap and load into redshift table ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can always drop and recreate the table on redshift&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 17:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321536#M91558</guid>
      <dc:creator>Tina3</dc:creator>
      <dc:date>2021-02-03T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Identify new columns in excel file  &amp; load into redshift db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321537#M91559</link>
      <description>&lt;P&gt;@Not defined Not defined​&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are not doing any transformation then don't use tMap.&lt;/P&gt;&lt;P&gt;Directly insert it to the Redshift Output and in that output choose the "Action on table"  to "Drop and Create Table".&lt;/P&gt;&lt;P&gt;It will drop the old table and insert the new values and with dynamic schema also.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 05:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identify-new-columns-in-excel-file-load-into-redshift-db/m-p/2321537#M91559</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-02-04T05:50:03Z</dc:date>
    </item>
  </channel>
</rss>

