<?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 [CSV] How to link Column Names in Schema and Header? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369175#M132352</link>
    <description>Hi! 
&lt;BR /&gt;I've got a question regarding tfileinputdelimited and their schemas, i made a simple job : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;Both input read the same file, this one : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;(A tab separated value file) 
&lt;BR /&gt;Here are the schemas of my two inputs : 
&lt;BR /&gt; 
&lt;A href="http://i.imgur.com/nzQkzJ2.png&amp;nbsp;http://i.imgur.com/hSNE6n0.png" target="_blank" rel="nofollow noopener noreferrer"&gt;http://i.imgur.com/nzQkzJ2.png&amp;nbsp;http://i.imgur.com/hSNE6n0.png&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;And here's the output : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;As you can see, in the second output, the values are wrong. 
&lt;BR /&gt;The components does not link the value and their header names (provided in the file) to the names specified in the schema, as a mysqlinput component would do, but instead read them in the order they come. 
&lt;BR /&gt;The output of my tLogRow_2 component should read "HO | HU" (second and third columns), not "Hi, HO". Is there a way to link header column names in file and columns names in schemas? 
&lt;BR /&gt; 
&lt;BR /&gt;Here are the job's components if you want to test it, thank you very much : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/245780/TestJob.zip_20160630-2351.zip" target="_blank"&gt;TestJob.zip_20160630-2351.zip&lt;/A&gt;</description>
    <pubDate>Fri, 01 Jul 2016 07:50:23 GMT</pubDate>
    <dc:creator>fendora</dc:creator>
    <dc:date>2016-07-01T07:50:23Z</dc:date>
    <item>
      <title>[CSV] How to link Column Names in Schema and Header?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369175#M132352</link>
      <description>Hi! 
&lt;BR /&gt;I've got a question regarding tfileinputdelimited and their schemas, i made a simple job : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;Both input read the same file, this one : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;(A tab separated value file) 
&lt;BR /&gt;Here are the schemas of my two inputs : 
&lt;BR /&gt; 
&lt;A href="http://i.imgur.com/nzQkzJ2.png&amp;nbsp;http://i.imgur.com/hSNE6n0.png" target="_blank" rel="nofollow noopener noreferrer"&gt;http://i.imgur.com/nzQkzJ2.png&amp;nbsp;http://i.imgur.com/hSNE6n0.png&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;And here's the output : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;As you can see, in the second output, the values are wrong. 
&lt;BR /&gt;The components does not link the value and their header names (provided in the file) to the names specified in the schema, as a mysqlinput component would do, but instead read them in the order they come. 
&lt;BR /&gt;The output of my tLogRow_2 component should read "HO | HU" (second and third columns), not "Hi, HO". Is there a way to link header column names in file and columns names in schemas? 
&lt;BR /&gt; 
&lt;BR /&gt;Here are the job's components if you want to test it, thank you very much : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/245780/TestJob.zip_20160630-2351.zip" target="_blank"&gt;TestJob.zip_20160630-2351.zip&lt;/A&gt;</description>
      <pubDate>Fri, 01 Jul 2016 07:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369175#M132352</guid>
      <dc:creator>fendora</dc:creator>
      <dc:date>2016-07-01T07:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: [CSV] How to link Column Names in Schema and Header?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369176#M132353</link>
      <description>The CSV file is read by position.&lt;BR /&gt;If you're expecting your input files to have columns out of order and you want to match up using header names, this component will not do this for you.</description>
      <pubDate>Fri, 01 Jul 2016 08:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369176#M132353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-01T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: [CSV] How to link Column Names in Schema and Header?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369177#M132354</link>
      <description>Thank your for your answer. Should i use another component, or will the csv format prevent me from doing this, regardless of the technique used?</description>
      <pubDate>Fri, 01 Jul 2016 08:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369177#M132354</guid>
      <dc:creator>fendora</dc:creator>
      <dc:date>2016-07-01T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: [CSV] How to link Column Names in Schema and Header?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369178#M132355</link>
      <description>It's unclear what you're trying to do.&lt;BR /&gt;Is your use case that you have to read CSV files that have columns in an unpredictable order?&lt;BR /&gt;Ideally, this should not happen. If it is, then I think you'd have to do you're own parsing of the input data to assign the correct inputs to the correct outputs.</description>
      <pubDate>Fri, 01 Jul 2016 08:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369178#M132355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-01T08:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: [CSV] How to link Column Names in Schema and Header?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369179#M132356</link>
      <description>It looks like this tutorial might be what you need (&lt;A href="https://www.rilhia.com/tutorials/dynamic-column-order" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/tutorials/dynamic-column-order&lt;/A&gt;). This shows how you can handle a dynamic column order with the Open Source product.</description>
      <pubDate>Fri, 01 Jul 2016 09:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-How-to-link-Column-Names-in-Schema-and-Header/m-p/2369179#M132356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-01T09:52:36Z</dc:date>
    </item>
  </channel>
</rss>

