问题
I am comparing two sheets using Merge Rows (diff).
1st excel sheet:
2nd excel sheet:
and my pentaho transaction:
in preview data showing, that id 2.0 at 2nd row is add new row and at 4 row its showing same data is delete, its suppose to identical, so how it can be achieve.
回答1:
Merge rows (diff) requires both input streams to be sorted by the merge keys (there's a warning about it when you edit the step's properties).
Put a sort rows step in each stream ahead of the Merge Rows (diff) step.
来源:https://stackoverflow.com/questions/51435763/merge-rows-diff-is-comparing-row-by-row-not-one-row-to-entire-rows-of-other-t