<?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: [resolved] Data Validation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343028#M110827</link>
    <description>Hi, 
&lt;BR /&gt;Welcome to Talend Community ! 
&lt;BR /&gt;tFilterRow or tMap component can fit your need. I create an example job to show you how to add filter expression on tMap to filter rows, the job design looks like: 
&lt;BR /&gt;tFileinputdelimited--main--&amp;gt;tMap--main--&amp;gt;tLogrow 
&lt;BR /&gt;Set the filter expression on tMap as: 
&lt;BR /&gt; 
&lt;PRE&gt; row1.data.startsWith("S")&amp;amp;&amp;amp;row1.data.length()==5&lt;/PRE&gt; 
&lt;BR /&gt;Please see my screenshots for details. 
&lt;BR /&gt;As a newbie, I encourage you to read the online manual of 
&lt;A href="https://help.talend.com/search/all?query=tMap&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMap&lt;/A&gt; and 
&lt;A href="https://help.talend.com/search/all?query=tMap+operation&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMap operation&lt;/A&gt;. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145085i3D1A42FD55EE0206/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDP.png" alt="0683p000009MEDP.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129434iAE51FB15FDE942E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDU.png" alt="0683p000009MEDU.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Wed, 27 Mar 2013 10:43:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-27T10:43:16Z</dc:date>
    <item>
      <title>[resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343027#M110826</link>
      <description>Dear all,&lt;BR /&gt;I am new to Talend and have probably a very simple question.&lt;BR /&gt;Using a delimited file; there is a column named UserName. Each username must start with an "S" and it's length must be 5 characters.&lt;BR /&gt;How to validate and ensure that rejected records are omitted?&lt;BR /&gt;Thanks,&lt;BR /&gt;Kees</description>
      <pubDate>Wed, 27 Mar 2013 10:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343027#M110826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T10:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343028#M110827</link>
      <description>Hi, 
&lt;BR /&gt;Welcome to Talend Community ! 
&lt;BR /&gt;tFilterRow or tMap component can fit your need. I create an example job to show you how to add filter expression on tMap to filter rows, the job design looks like: 
&lt;BR /&gt;tFileinputdelimited--main--&amp;gt;tMap--main--&amp;gt;tLogrow 
&lt;BR /&gt;Set the filter expression on tMap as: 
&lt;BR /&gt; 
&lt;PRE&gt; row1.data.startsWith("S")&amp;amp;&amp;amp;row1.data.length()==5&lt;/PRE&gt; 
&lt;BR /&gt;Please see my screenshots for details. 
&lt;BR /&gt;As a newbie, I encourage you to read the online manual of 
&lt;A href="https://help.talend.com/search/all?query=tMap&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMap&lt;/A&gt; and 
&lt;A href="https://help.talend.com/search/all?query=tMap+operation&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMap operation&lt;/A&gt;. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145085i3D1A42FD55EE0206/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDP.png" alt="0683p000009MEDP.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129434iAE51FB15FDE942E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDU.png" alt="0683p000009MEDU.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 27 Mar 2013 10:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343028#M110827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T10:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343029#M110828</link>
      <description>Hi Sabrina,
&lt;BR /&gt;Thanks so much for the reply. I have looked matters up indeed but now am struggling with a bit of another issue.
&lt;BR /&gt;In my TMap I have a default data conversion .... TalendDate.parseDate("dd/MM/yyyy",row1.Date) the input date comes from a delimited file in the format of "20/02/2012" ergo as per this format. Yet I receive the error upon test as follows: Exception in component tRowGenerator_1.
&lt;BR /&gt;I get the same error when I parse an string to integer. 
&lt;BR /&gt;Looking forward to your reply ... since tomorrow I am suppose to demo the product to management for acceptance.</description>
      <pubDate>Thu, 28 Mar 2013 11:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343029#M110828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-28T11:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343030#M110829</link>
      <description>Hi CPA_Talend 
&lt;BR /&gt;The exception occurs on tRowGenerator_1, there must be something wrong in the parameter setting, we usually click the Preview button to see if the data can be generated. If this button does't work in your side, please upload a screenshot of tRowGenerator setting window, it will be helpful for us to address the problem. 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 28 Mar 2013 12:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343030#M110829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-28T12:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343031#M110830</link>
      <description>Hi Shong, 
&lt;BR /&gt;Please see below 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME1y.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136349i765CA9C69B6E0B0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME1y.jpg" alt="0683p000009ME1y.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 28 Mar 2013 12:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343031#M110830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-28T12:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343032#M110831</link>
      <description>Hi, 
&lt;BR /&gt;Unfortunately, the screenshot you provided in #5 is not the screenshot of tRowGenerator setting window as @shong said. It is still the tMap. In your workflow, you have used component 
&lt;A href="https://help.talend.com/search/all?query=tRowGenerator&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tRowGenerator&lt;/A&gt; as your input and something wrong with it (Exception in component tRowGenerator_1.) . 
&lt;BR /&gt;The screenshot should be as the follows. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143630i92F2F52A6089D45B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDZ.png" alt="0683p000009MEDZ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 29 Mar 2013 04:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343032#M110831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T04:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343033#M110832</link>
      <description>Hi,&lt;BR /&gt;I wish that to be the case but I do not use the TRowGenerator component anywhere ... hence I am confused...</description>
      <pubDate>Fri, 29 Mar 2013 05:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343033#M110832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T05:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343034#M110833</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;The problem may be occur in it if you don't use component tRowGenerator. &lt;BR /&gt;By the way, talend provide &lt;A href="http://www.talend.com/services/training" target="_blank" rel="nofollow noopener noreferrer"&gt;training&lt;/A&gt; to community user for the study of talend products.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2013 06:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343034#M110833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T06:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343035#M110834</link>
      <description>The Test! button in Expression Builder doesn't work and never has. I can't understand why Talend doesn't get rid of it as this question keeps coming up on the forum! To test, you have to run the job.</description>
      <pubDate>Mon, 08 Apr 2013 04:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343035#M110834</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-04-08T04:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343036#M110835</link>
      <description>Thanks all,&lt;BR /&gt;I build around it ... that seemed to work ... basically, I now do all conversions ahead of mapping activities and keep tMap as much as possible for it's job.&lt;BR /&gt;However it remains a little weird.</description>
      <pubDate>Mon, 08 Apr 2013 06:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343036#M110835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-08T06:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343037#M110836</link>
      <description>Hi, &lt;BR /&gt;What is the weird issue? Any screenshot for it ?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 08 Apr 2013 06:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343037#M110836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-08T06:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Data Validation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343038#M110837</link>
      <description>Sorry, I was referring to the above identified .... with the new setup all works fine ... there are multiple ways that lead to Rome, so to speak 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Thanks all for the help</description>
      <pubDate>Mon, 08 Apr 2013 14:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Data-Validation/m-p/2343038#M110837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-08T14:36:13Z</dc:date>
    </item>
  </channel>
</rss>

