Merge Rows (diff) is comparing row by row, not one row to entire rows of other table

感情迁移 提交于 2019-12-12 20:07:02

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!