<?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 Reading delimited file with dynamic column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344781#M112393</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to read a file with dynamic columns and load the mandatory fields into DB.&lt;/P&gt;&lt;P&gt;The dynamic columns are in the middle of the file.&lt;/P&gt;&lt;P&gt;But, based on the config we can figure out how many additional fields are added in this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;col1|col2|col3|&lt;B&gt;col4.1&lt;/B&gt;|&lt;B&gt;col4.2&lt;/B&gt;|&lt;B&gt;col4.3&lt;/B&gt;|col5|col6&lt;/P&gt;&lt;P&gt;I want to read this and store it as &lt;/P&gt;&lt;P&gt;col1|col2|col3|"&lt;/P&gt;&lt;B&gt;col4.1;col4.2;col4.3&lt;/B&gt;&lt;P&gt;"|col5|col6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on a config I would know there are 3 fields for col4, but some files might have 6 or even 1. That is the variable column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to read and process such files in talend.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:09:34 GMT</pubDate>
    <dc:creator>AManohar</dc:creator>
    <dc:date>2024-11-15T22:09:34Z</dc:date>
    <item>
      <title>Reading delimited file with dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344781#M112393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to read a file with dynamic columns and load the mandatory fields into DB.&lt;/P&gt;&lt;P&gt;The dynamic columns are in the middle of the file.&lt;/P&gt;&lt;P&gt;But, based on the config we can figure out how many additional fields are added in this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;col1|col2|col3|&lt;B&gt;col4.1&lt;/B&gt;|&lt;B&gt;col4.2&lt;/B&gt;|&lt;B&gt;col4.3&lt;/B&gt;|col5|col6&lt;/P&gt;&lt;P&gt;I want to read this and store it as &lt;/P&gt;&lt;P&gt;col1|col2|col3|"&lt;/P&gt;&lt;B&gt;col4.1;col4.2;col4.3&lt;/B&gt;&lt;P&gt;"|col5|col6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on a config I would know there are 3 fields for col4, but some files might have 6 or even 1. That is the variable column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to read and process such files in talend.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344781#M112393</guid>
      <dc:creator>AManohar</dc:creator>
      <dc:date>2024-11-15T22:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading delimited file with dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344782#M112394</link>
      <description>&lt;P&gt;I think you need dynamic schema functionality which is only on subscription products.  For more details, please refer to this documentation page. &lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/8.0/dynamic-schema&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access the schema properties and filter the columns based on the column name at runtime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&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>Mon, 30 Jan 2023 06:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344782#M112394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-30T06:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading delimited file with dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344783#M112395</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in our case we dont have a column name.&lt;/P&gt;&lt;P&gt;Its just a pipe separated file.&lt;/P&gt;&lt;P&gt;eg : Name|language1|language2|language3|age&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in this case, some file will have just one language, but some might have many. so we still need to store those additional languages in separate column.&lt;/P&gt;&lt;P&gt; But, name,language1 and age should be stored in a main table. &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>Tue, 31 Jan 2023 02:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344783#M112395</guid>
      <dc:creator>AManohar</dc:creator>
      <dc:date>2023-01-31T02:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading delimited file with dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344784#M112396</link>
      <description>&lt;P&gt;Name|language1|language2|language3|age &lt;/P&gt;&lt;P&gt;this line is not the column name? There must have a header line when using a dynamic schema feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 03:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-delimited-file-with-dynamic-column/m-p/2344784#M112396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-31T03:49:11Z</dc:date>
    </item>
  </channel>
</rss>

