<?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 [resolved] tFilterRow Advanced Mode Regex match fails? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288214#M61722</link>
    <description>Hi All, 
&lt;BR /&gt;I have a simple job that iterates through a directory of files. I am seeking to filter the files where the name matches a list of regular expressions. I want to report on those files that match, and those that dont. (Those that match will continue for further processing). 
&lt;BR /&gt;I have: 
&lt;BR /&gt;tFileList -&amp;gt; tFileProperties -&amp;gt; tFilterRow - tLogRow (filter) 
&lt;BR /&gt; | 
&lt;BR /&gt; ------- tLogRow (reject) 
&lt;BR /&gt;In the configuration of the tFilterRow, I have specified "advanced mode" and used the statement: 
&lt;BR /&gt;input_row.basename.matches("^\\d+") 
&lt;BR /&gt;as my initial test is simply to identify files beginning with any sequence of digits. 
&lt;BR /&gt;Currently all rows route through the reject log. 
&lt;BR /&gt;I have tested the same regex statement with tExtractRegexFields and it worked. 
&lt;BR /&gt;Does tFilterRow NOT support regex in this way? 
&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 09 Jun 2014 06:55:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-09T06:55:01Z</dc:date>
    <item>
      <title>[resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288214#M61722</link>
      <description>Hi All, 
&lt;BR /&gt;I have a simple job that iterates through a directory of files. I am seeking to filter the files where the name matches a list of regular expressions. I want to report on those files that match, and those that dont. (Those that match will continue for further processing). 
&lt;BR /&gt;I have: 
&lt;BR /&gt;tFileList -&amp;gt; tFileProperties -&amp;gt; tFilterRow - tLogRow (filter) 
&lt;BR /&gt; | 
&lt;BR /&gt; ------- tLogRow (reject) 
&lt;BR /&gt;In the configuration of the tFilterRow, I have specified "advanced mode" and used the statement: 
&lt;BR /&gt;input_row.basename.matches("^\\d+") 
&lt;BR /&gt;as my initial test is simply to identify files beginning with any sequence of digits. 
&lt;BR /&gt;Currently all rows route through the reject log. 
&lt;BR /&gt;I have tested the same regex statement with tExtractRegexFields and it worked. 
&lt;BR /&gt;Does tFilterRow NOT support regex in this way? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 09 Jun 2014 06:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288214#M61722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-09T06:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288215#M61723</link>
      <description>Hi, &lt;BR /&gt;So far, tFilterRow don't support for regex.&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values so that we can see if there is an alternative solution for your case.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 09 Jun 2014 09:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288215#M61723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-09T09:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288216#M61724</link>
      <description>Thanks Sabrina, 
&lt;BR /&gt; 
&lt;BR /&gt;I note that the documentation suggests that regex is supported; might want to have that updated 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/search/all?query=tFilterRow&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tFilterRow&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;"In the text field, type in the regular expression as required." 
&lt;BR /&gt; 
&lt;BR /&gt;Anyway, my use case is essentially an ETL migration from a filesystem and database through to a new target system. The filesystem contains binary files, the database contains metadata. A primary key (id) number links the file to the database record. 
&lt;BR /&gt;I want to iterate through the file-system to identify and join the files to the metadata, then transform them into a new format for import into a new system. 
&lt;BR /&gt;I want to report on files and folders that were migrated, or failed, because they were unidentifiable etc.. 
&lt;BR /&gt;I have a file-system containing about 30Tb of various image files and folders. 
&lt;BR /&gt;Examples would be: 
&lt;BR /&gt;12345_sometitle.jpg 
&lt;BR /&gt;46602_shot.psd 
&lt;BR /&gt;Latest_3498912.gif 
&lt;BR /&gt;Some_3452_file.bmp 
&lt;BR /&gt;fail_example.jpg 
&lt;BR /&gt;As I iterate through the file-system, I want to evaluate both files and folders against a regular expression that is designed to pickup an ID number that may or may not be in the name of the file/folder. There may be multiple regexes to support different criteria. 
&lt;BR /&gt;If one of the criteria matches, I want to extract the ID, then continue processing -- I will do a join to another data source to identify more metadata. 
&lt;BR /&gt;Ultimately I will write an XML file next to the binary file in a new directory, where it will be loaded into the new system. 
&lt;BR /&gt;I have been playing around with Talend for a few days to evaluate whether it will be a useful tool or not... I am new to Talend, but have a Java background. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Rob</description>
      <pubDate>Mon, 09 Jun 2014 10:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288216#M61724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-09T10:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288217#M61725</link>
      <description>Hi Rob,
&lt;BR /&gt;Based on description above, I understood that major challenge is in extraction of ID which may or may not be available in file system. And you have strong business rules or definitions to get the ID. Once ID is extracted, further process is simple to you i.e. inner join in tmap to get the file ID from database...
&lt;BR /&gt;For extraction of above id from file system, I would recommend to use tJavaRow and multiple if clauses based on your regular expressions implemented using Java. As you have a java background, this will not be difficult for you.
&lt;BR /&gt;Once you have extracted ID from file system, you can use tMap to join with the database and continue with your further processes.
&lt;BR /&gt;Please let me know if it helps and the understanding is the same as you desire.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Mon, 09 Jun 2014 11:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288217#M61725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-09T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288218#M61726</link>
      <description>Bonjour,&lt;BR /&gt;SVP j'ai besoin de votre aide.&lt;BR /&gt;J'ai un fichier texte contenant des lignes de 250 caractères comme des relevés bancaires. J'ai besoin de lire le fichier par bloc.&lt;BR /&gt;Par exemple:&lt;BR /&gt;&lt;BR /&gt;083005600V300026EUR2 0026000722405270614  270614VIREMENT SEPA RECU    YCI5 0671  05067120               &lt;BR /&gt;0530056    00026EUR2 0026000722405270614     NPYXXXXX                                                      &lt;BR /&gt;0530056    00026EUR2 0026000722405270614     LCC EUR DU 25/06/201  &lt;BR /&gt;0530056    00026EUR2 0026000722405270614     LC24 ORE309W7001                                    &lt;BR /&gt;0530056    00026EUR2 0026000722405270614     RCN550138032301 &lt;BR /&gt;                                                           &lt;BR /&gt;083005600HY00026EUR2 00260007224B1270614  270614PRLV DDDDDDDD   XXXXXXX  06004160           &lt;BR /&gt;0530056    00026EUR2 00260007224B1270614     NPYDD                                      &lt;BR /&gt;0530056    00026EUR2 00260007224B1270614     NBEEDF                                             &lt;BR /&gt;0530056    00026EUR2 00260007224B1270614     IJJJJJJJJJJJJJJJJJJJJJJ                      SESS                                 &lt;BR /&gt;0530056    00026EUR2 00260007224B1270614     RUH YYYYYYYYYYYYYY                     RSSS                &lt;BR /&gt;&lt;BR /&gt;Je voudrai lire le fichier par partie, par exemple pour chaque ligne commençant par "08", je prends les lignes qui la suivent commençant par "05" jusqu'à arriver à la ligne "08" ainsi de suite.&lt;BR /&gt;Avez vous une idée SVP.</description>
      <pubDate>Mon, 30 Jun 2014 11:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288218#M61726</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-06-30T11:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288219#M61727</link>
      <description>Hi Souha, 
&lt;BR /&gt;This is an international forum and English is the language we use. Posting in English will allow you to get more visibility and more help. Thanks for your understanding!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 01 Jul 2014 07:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288219#M61727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T07:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288220#M61728</link>
      <description>Hi every one,&lt;BR /&gt;I need your help please, &lt;BR /&gt;I have text file(positionnel file) where each line have 250 characters, like that&lt;BR /&gt;083005600V300026EUR2 0026000eeeeee270614  270614VIREMENT eeeeeeee    YCI5 0671  05067120               &lt;BR /&gt;0530056    00026EUR2 0026000eeeeee270614     NPYXXXXX                                                      &lt;BR /&gt;0530056    00026EUR2 0026000eeeeee270614     eeeeeeeeeeeeeeeeeeeeeee  &lt;BR /&gt;0530056    00026EUR2 0026000eeeeee270614     eeeeeeeeeeeeeeeeeeee                                    &lt;BR /&gt;0530056    00026EUR2 0026000eeeeee270614     eeeeeeeeeeeeeeeeeeeeeee&lt;BR /&gt;083005600V300026EUR2 0026000eeeeee270614  270614VIREMENT eeeeeeee    YCI5 0671  05067120    &lt;BR /&gt;I would like to read my file like that:&lt;BR /&gt;IF the line starts with "08", I have to check the next line, if it is starting with "05" , a Msg Box having "NPYXXXXX " will be appeared&lt;BR /&gt;Else Msg Box having "VIREMENT " will be appeared.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Tue, 01 Jul 2014 12:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288220#M61728</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-01T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288221#M61729</link>
      <description>Hi Souha,
&lt;BR /&gt;Read your input file...
&lt;BR /&gt;- Use tjavarow
&lt;BR /&gt;- Use string handling left to get 2 chars in some variable from first column
&lt;BR /&gt;- Compare these variables with 08 and 05 using if then else clause
&lt;BR /&gt;- Execute whatever code you want...
&lt;BR /&gt;I will not recommend to use the msg box, in place you use System.out.println()... else you will get 100s of msg boxes on screen and will not be able to identify what is happening...
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Jul 2014 13:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288221#M61729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288222#M61730</link>
      <description>Thanks for your quickly reply sanvaibhav,&lt;BR /&gt;How can I compare two lines in the same time ??? I have to write a java code ?</description>
      <pubDate>Tue, 01 Jul 2014 13:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288222#M61730</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-01T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288223#M61731</link>
      <description>Hi Souou,
&lt;BR /&gt;If you want to compare two lines at a time.. then you can think of using tMemorizeRow component... But, I don't think that you need to do that..
&lt;BR /&gt;Check the use case in talend or refer to some blogs
&lt;BR /&gt;
&lt;A href="https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en&lt;/A&gt;
&lt;BR /&gt;
&lt;A href="http://www.talendbyexample.com/talend-tmemorizerows-component-reference.html" rel="nofollow noopener noreferrer"&gt;http://www.talendbyexample.com/talend-tmemorizerows-component-reference.html&lt;/A&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Jul 2014 13:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288223#M61731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288224#M61732</link>
      <description>Hi sanvaibhav,
&lt;BR /&gt;I used the open source version of talend, I can't use tMemorize.
&lt;BR /&gt;Have you another solution please. My issue is how I read a line and the next line in the same time?
&lt;BR /&gt;I'm beginner in talend.
&lt;BR /&gt;Tahnks.</description>
      <pubDate>Tue, 01 Jul 2014 14:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288224#M61732</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-01T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288225#M61733</link>
      <description>Hi souha, 
&lt;BR /&gt;tMemorizeRows component is from Talend Open Studio for data integration and not from paid / enterprise ... 
&lt;BR /&gt;Which version of talend you are using? 
&lt;BR /&gt;Another way could be to save the value of respective column to some context variable and then checking that value with the current row... after checking the value, at the end again save current value to context variable... 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Jul 2014 14:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288225#M61733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T14:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288226#M61734</link>
      <description>Hi sanvaibhav
&lt;BR /&gt;I upgraded into Talend 5.4 and I finally get tMemorize, but I have a bad question: TMemorize allow me to memorize the previous lines but I would like to memorize the nextLine of the current one.
&lt;BR /&gt;I don't know if it's feasible or no?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 01 Jul 2014 15:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288226#M61734</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-01T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFilterRow Advanced Mode Regex match fails?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288227#M61735</link>
      <description>Hmm... that's tricky... you can do it&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Jul 2014 17:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFilterRow-Advanced-Mode-Regex-match-fails/m-p/2288227#M61735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T17:59:47Z</dc:date>
    </item>
  </channel>
</rss>

