<?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 Capture Error/Warn Message of multiple tWarn in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321405#M91435</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My requirement is as below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Do the validation like validation 1 (Table A Inner Join Table B). Capture inner join reject and if inner join reject record count is greater than zero then capture a validation error message as "Validation 1 Failure" using tWarn_1.&lt;/P&gt;&lt;P&gt;2. Do the validation like validation 2 (Table B Inner Join Table A). Capture inner join reject and if inner join reject record count is greater than zero then capture a validation error message as "Validation 2 Failure" using tWarn_2.&lt;/P&gt;&lt;P&gt;3. If both the above validation are trigger then i want to concatenate the error message of&amp;nbsp; tWarn_1 &amp;amp; tWarn_2 and my error message should be "Validation 1 is failure; Validation 2 Failure"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help me on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 15:28:16 GMT</pubDate>
    <dc:creator>shrikavi2008</dc:creator>
    <dc:date>2019-05-21T15:28:16Z</dc:date>
    <item>
      <title>Capture Error/Warn Message of multiple tWarn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321405#M91435</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My requirement is as below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Do the validation like validation 1 (Table A Inner Join Table B). Capture inner join reject and if inner join reject record count is greater than zero then capture a validation error message as "Validation 1 Failure" using tWarn_1.&lt;/P&gt;&lt;P&gt;2. Do the validation like validation 2 (Table B Inner Join Table A). Capture inner join reject and if inner join reject record count is greater than zero then capture a validation error message as "Validation 2 Failure" using tWarn_2.&lt;/P&gt;&lt;P&gt;3. If both the above validation are trigger then i want to concatenate the error message of&amp;nbsp; tWarn_1 &amp;amp; tWarn_2 and my error message should be "Validation 1 is failure; Validation 2 Failure"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help me on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 15:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321405#M91435</guid>
      <dc:creator>shrikavi2008</dc:creator>
      <dc:date>2019-05-21T15:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error/Warn Message of multiple tWarn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321406#M91436</link>
      <description>Hi&lt;BR /&gt;It's a bit difficult to help when you don't suggest anything.&lt;BR /&gt;&lt;BR /&gt;I suggest you post it as a job on freelancer.com, you will have many freelancers available to build the job for you.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2019 15:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321406#M91436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-21T15:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error/Warn Message of multiple tWarn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321407#M91437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You can try to do it in following steps.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;a) Using a tMap, perform inner join. In the output of tMap, add the condition to capture inner join rejects.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 661px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Lf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135333iCAE51EA47DF5F3CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Lf.png" alt="0683p000009M4Lf.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can take the count of this result set coming out of tMap and if it is more than zero, you can issue tWarn.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since its an inner join, the result set is same. So I am not understanding why you need to do two types of validations for same result set error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 378px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3yJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129658i59E4E5D7696AE49B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3yJ.png" alt="0683p000009M3yJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Hope you got the clue to move forward in your case.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 21:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321407#M91437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-21T21:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error/Warn Message of multiple tWarn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321408#M91438</link>
      <description>&lt;P&gt;Thank you Nikhil,&lt;/P&gt;
&lt;P&gt;I did the exactly same already for Validation 1 and insert a record in my error log table. Also did the same for 2nd validation and this also inserting another record in&amp;nbsp;my error log table. But my concern is I do not want to insert 2 records instead should insert 1 record only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The 2 types of validations are,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have 10 tables in our source system, but we need to ingest only 5 tables and In those 5 we do not want to ingest all the columns only specific columns. So we are maintaining the list of required tables and columns of the table in a csv file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before extracting data from table we need to validate, any columns exist in the CSV file is also exist in actual table or not (validation-1). If not exist insert a record in error_log table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another validation is columns exist in actual table is also exist in the CSV file or not (validation). If not exist insert a record in error_log table with warning status. If any table has both above validation failure, then i should insert only one record instead of 2 records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 02:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321408#M91438</guid>
      <dc:creator>shrikavi2008</dc:creator>
      <dc:date>2019-05-22T02:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error/Warn Message of multiple tWarn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321409#M91439</link>
      <description>I suggest you use temporal tables or file&lt;BR /&gt;&lt;BR /&gt;after all your checks, then you insert what ever you want to insert into your final table&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2019 08:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321409#M91439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T08:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error/Warn Message of multiple tWarn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321410#M91440</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZEAA4"&gt;@dgm01&lt;/A&gt;&amp;nbsp;. You should use temporary tables to hold the interim data till all your validations are complete.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then you can push the data to final table based on validation errors.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 15:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-Warn-Message-of-multiple-tWarn/m-p/2321410#M91440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T15:59:39Z</dc:date>
    </item>
  </channel>
</rss>

