<?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 Two output comparison in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247576#M32720</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data from file and data from DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schema of File :&lt;/P&gt;&lt;P&gt;column_name|datatype&lt;/P&gt;&lt;P&gt;==================&lt;/P&gt;&lt;P&gt;date|datetime&lt;/P&gt;&lt;P&gt;name|String&lt;/P&gt;&lt;P&gt;Salary|Float&lt;/P&gt;&lt;P&gt;da|Float&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schema of DB:&lt;/P&gt;&lt;P&gt;column_name|datatype&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;==================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;date_joining|datetime&lt;/P&gt;&lt;P&gt;fullname|String&lt;/P&gt;&lt;P&gt;sal|Float&lt;/P&gt;&lt;P&gt;da_value|Float&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get all rows from DB having same "&lt;SPAN&gt;date" in both DB and File, same "name" in both DB and File and same "salary" in both DB and file and store the success output in a file and also rejected rows in another file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can I please know on how to achieve that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Dec 2018 17:49:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-19T17:49:14Z</dc:date>
    <item>
      <title>Two output comparison</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247576#M32720</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data from file and data from DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schema of File :&lt;/P&gt;&lt;P&gt;column_name|datatype&lt;/P&gt;&lt;P&gt;==================&lt;/P&gt;&lt;P&gt;date|datetime&lt;/P&gt;&lt;P&gt;name|String&lt;/P&gt;&lt;P&gt;Salary|Float&lt;/P&gt;&lt;P&gt;da|Float&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schema of DB:&lt;/P&gt;&lt;P&gt;column_name|datatype&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;==================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;date_joining|datetime&lt;/P&gt;&lt;P&gt;fullname|String&lt;/P&gt;&lt;P&gt;sal|Float&lt;/P&gt;&lt;P&gt;da_value|Float&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get all rows from DB having same "&lt;SPAN&gt;date" in both DB and File, same "name" in both DB and File and same "salary" in both DB and file and store the success output in a file and also rejected rows in another file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can I please know on how to achieve that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 17:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247576#M32720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-19T17:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Two output comparison</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247577#M32721</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 will have to read the data from bot DB and file&amp;nbsp;and pass the data to a tMap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;In the tMap you need to join them using the name, date and salary columns. The trick is that you will have to use inner join in tMap so that any records which do not have matching condition can be send to different output flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In the output section of the tmap, you can create two flows, one for success and other for failure. In the failure flow, please make sure to change&amp;nbsp;Catch inner join reject value as true. This will pick only the rejected records of join.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If you are still facing any issues, I would suggest you to add screens shots of your job flow with sample data for both DB and file + error details. We can take it from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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>Thu, 20 Dec 2018 04:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247577#M32721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T04:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Two output comparison</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247578#M32722</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLl6AAG"&gt;@arunshankar&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Did the details helped to resolve your query? If yes, please mark the topic as answered.&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; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 05:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Two-output-comparison/m-p/2247578#M32722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T05:53:34Z</dc:date>
    </item>
  </channel>
</rss>

