You are not logged in.
I did this example with two CSV file, with the same structure but with some differents values.
I've used a tUnite and after a tUniqRow.
I've used all the field as Key attribute in the tUniqRow.
As output use the Duplicates flow to see all the similar values.
However if file1 and file2 have a same row= [a,a] you will see this row two times.
So I added a tAggregateRow and the groupby function in it for each field
Last edited by cahsohtoa (2008-03-05 18:00:52)
i tried to realise a job concerning the comparaison of the 2 XML files.
Here is a screenshot of my job:
and here is the variables regarding the tFileCompare_1 settings:
Can you help me to resolve my problem, this is the error message:
Last edited by pegaz (2008-03-07 11:09:04)
you can try with two tfile list.
In each tFilelist you specified the directory and the name file
After you can use ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) & ((String)globalMap.get("tFileList_2_CURRENT_FILEPATH"))
I need to compare 2 XML files. Actually, I can do this, show if the files differ or not and how many lines do they differ.
My question is: How can i identify which row do they differ and what is the id. Let's consider this example:
id= 12 id= 12
first_name= MACKLEY first_name= MACKLEY
last_name= bob last_name= david
I want to see as a result: the 2 XML files differ/ they differ on: last_name / the id= 12
I'm thinking that it would be a really good idea to developp a new component that permits to compare two files row by row.
Please wait for a talend team opinion but I think it will be an option to put it into the buggtracker