Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
psujini
Contributor
Contributor

how to compare the input row from one file with all rows in the another file in talend

How to  compare the input file first row value with the all rows in the second input file column in talend

 

Labels (2)
27 Replies
vboppudi
Partner - Creator III
Partner - Creator III

Hi,

 

Please find the job details below.

 

0683p000009Lt3m.png0683p000009Lt7Y.png0683p000009Lt9T.png

 

Regards,

 

psujini
Contributor
Contributor
Author

Thank you so much sir ....

it helps .I will try it actually i tried the same but i didn't use the tunique row.where as it is populating all input dates in  invalid dates file.the screen shot you shared the out .in tat also the dates which are in the valid output also there in the invalid output. how could that possible?.it should not come in invalid dates output. sir would  u please check on the same..

Anonymous
Not applicable

Hello,

Here also exists a tFileCompare component which compares two files and provides comparison data based on a read-only schema.

For more information, please refer to online document about:TalendHelpCenter:tFileCompare.

Best regards

Sabrina

psujini
Contributor
Contributor
Author

Hi Veeranjaneyulu garu,

 

can i have update on this sir..what i was facing issue with this.

 

this is giving all dates as rejected.

psujini
Contributor
Contributor
Author

Hello sir,

 

The following problem is not solved!

Do you have any Idea how to catch the unparsed dates to the output.

 

 

 

vboppudi
Partner - Creator III
Partner - Creator III

Hi,

 

The job i provided has two targets one for valid dates and another one for invalid dates.

 

in tMap, you have two create two output groups one for valid dates and another one for invalid dates. For valid dates it will return only matched pasterns. For invalid output it will return all not matched patterns. So use tUniq after tamp for invalid output.

 

Regards,

 

 

 

Anonymous
Not applicable

Hello,

You can redirect the standard out to a file for the entire Job run by using tJava component.

And please use the following code

java.io.File file = new java.io.File("C:/temp/mytalend.log");
java.io.PrintStream log_java = new java.io.PrintStream(new java.io.FileOutputStream(file));
System.setOut(log_java);

Let us know if it works

Best regards

Sabrina

psujini
Contributor
Contributor
Author

i didn't get this solutions.Can you please eloborate