<?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: check if a field contains an integer or something else with tFilterRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234691#M23968</link>
    <description>&lt;P&gt;Remove "Die on Error" option in tFileInputDelimited .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have option to link rejects to a file.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 16:19:03 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2019-04-04T16:19:03Z</dc:date>
    <item>
      <title>check if a field contains an integer or something else with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234686#M23963</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;I would like to check in the tFilterRow advanced mode if the ID (integer) field of my csv file contains a value different from an integer or not. The objective is to reject lines in which this ID field is empty or contains a string or a character ... But I do not know how to do it. Here is an example of my file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id ,name,etat&lt;BR /&gt;18209,COLLECTIVITE LOCALE,ACT&lt;BR /&gt;18210,836,DEGROUPAGE,2,ACT&lt;BR /&gt;,836,DEG,2,ACT&lt;BR /&gt;wsadza,GLOBECAST,ACT&lt;BR /&gt;836,TRANSPAC,ACT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what I tried but that does not reject the empty values ​​and others&lt;/P&gt;
&lt;PRE&gt;input_row.ID%input_row.ID != 0&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your attention&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234686#M23963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: check if a field contains an integer or something else with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234687#M23964</link>
      <description>&lt;PRE&gt;input_row.ID != null  &amp;amp;&amp;amp; input_row.ID.&lt;SPAN class="pln"&gt;matches&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;("\\d+"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 15:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234687#M23964</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-04T15:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: check if a field contains an integer or something else with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234688#M23965</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank's for your answer but&amp;nbsp;I have this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The method matches(String) is undefined for the type Integer"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Indeed the field ID is of type integer and I do not want anything other than an integer.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 16:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234688#M23965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-04T16:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: check if a field contains an integer or something else with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234689#M23966</link>
      <description>In this case , record will be rejected by tFileInputDelimier itself ( if it&lt;BR /&gt;is Integer and data is String) also you can make this field not nullable in&lt;BR /&gt;schema definition.&lt;BR /&gt;&lt;BR /&gt;so Null value records will also get rejected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Apr 2019 16:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234689#M23966</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-04T16:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: check if a field contains an integer or something else with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234690#M23967</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Great Abhishek, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since I want to redirect the rejected lines to a file, how can I do it? I was thinking of tFilterRow but that's not the case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 16:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234690#M23967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-04T16:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: check if a field contains an integer or something else with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234691#M23968</link>
      <description>&lt;P&gt;Remove "Die on Error" option in tFileInputDelimited .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have option to link rejects to a file.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 16:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-if-a-field-contains-an-integer-or-something-else-with/m-p/2234691#M23968</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-04T16:19:03Z</dc:date>
    </item>
  </channel>
</rss>

