<?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: How to check csv header names are valid in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263508#M43643</link>
    <description>hi all,
&lt;BR /&gt;for extra column, you can use a referentiel schema to check against it.
&lt;BR /&gt;I use to work with referenced against built-in to work with the up-to-date schema in my job.
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
    <pubDate>Wed, 16 Jan 2013 11:58:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-16T11:58:42Z</dc:date>
    <item>
      <title>How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263500#M43635</link>
      <description>Hi,&lt;BR /&gt;I need to know if the csv file which is being processed has header names same as per expected.If the header names are different i need to reject the file.If the header names are same as per schema then the file is supposed to be processed.&lt;BR /&gt;Please advise how this can be done?</description>
      <pubDate>Sat, 16 Nov 2024 12:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263500#M43635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263501#M43636</link>
      <description>read a first row of the file using tFileInputFullRow component then check first row of the file with tJavaRow using string compare methods like "contains, equals, equals ignore case" and based on compared result you can process file or reject it.</description>
      <pubDate>Tue, 15 Jan 2013 05:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263501#M43636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T05:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263502#M43637</link>
      <description>But how to check if the field names are as per expected tFileInputDelimited schema?Or are we supposed to check with hardcoded names?Also how to check only header names matches?And also if valid i want to process the file as tFileInputDelimited</description>
      <pubDate>Tue, 15 Jan 2013 06:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263502#M43637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T06:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263503#M43638</link>
      <description>please design job as follows:&lt;BR /&gt;create boolean variable "result"&lt;BR /&gt;tFileInputFullRow----tJavaRow--tJava--if(false)--take action &lt;BR /&gt;                                               |&lt;BR /&gt;                                            If(True)&lt;BR /&gt;                                                |&lt;BR /&gt;                                           tFileInputDelimited&lt;BR /&gt;in tJavaRow use following code&lt;BR /&gt;------------------------------------------&lt;BR /&gt;context.result= line1.equalsIgnoreCase("col1,col2,col3");&lt;BR /&gt;&lt;BR /&gt;in true If connector check variable value &lt;BR /&gt;-----------------------------------------------------&lt;BR /&gt;context.result==true &lt;BR /&gt;&lt;BR /&gt;in False If connector check variable value &lt;BR /&gt;--------------------------------------------------------&lt;BR /&gt;context.result==false</description>
      <pubDate>Tue, 15 Jan 2013 06:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263503#M43638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T06:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263504#M43639</link>
      <description>hi all,&lt;BR /&gt;have a lookt at "tSchemaComplianceCheck" that is designed for that goal.&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 15 Jan 2013 10:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263504#M43639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T10:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263505#M43640</link>
      <description>if you have extra column at the end of header row then tSchemaComplianceCheckwill not reject your file as schema change, even it is work to reject rows not entire file.</description>
      <pubDate>Tue, 15 Jan 2013 10:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263505#M43640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T10:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263506#M43641</link>
      <description>Hi umeshrakhe,&lt;BR /&gt;Thanks i was able to handle my conditions with your previous solution.&lt;BR /&gt;And yes tSchemaComplianceCheck does not work with extrat columns.Also it was not validating field names.&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;anaya</description>
      <pubDate>Tue, 15 Jan 2013 11:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263506#M43641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T11:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263507#M43642</link>
      <description>welcome..</description>
      <pubDate>Tue, 15 Jan 2013 11:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263507#M43642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-15T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263508#M43643</link>
      <description>hi all,
&lt;BR /&gt;for extra column, you can use a referentiel schema to check against it.
&lt;BR /&gt;I use to work with referenced against built-in to work with the up-to-date schema in my job.
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 16 Jan 2013 11:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263508#M43643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-16T11:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to check csv header names are valid</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263509#M43644</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;hi all,&lt;BR /&gt;have a lookt at "tSchemaComplianceCheck" that is designed for that goal.&lt;BR /&gt;regards&lt;BR /&gt;laurent&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Hey Kzone,&lt;BR /&gt;As I know, tSchemaComplianceCheck can only used for below-&lt;BR /&gt;1. for max length&lt;BR /&gt;2. for date patterns&lt;BR /&gt;and can not used for column name validation.</description>
      <pubDate>Fri, 23 Jan 2015 07:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-csv-header-names-are-valid/m-p/2263509#M43644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-23T07:27:48Z</dc:date>
    </item>
  </channel>
</rss>

