Talend Tuniqrow Condition Specification

时间:2017-06-15 09:50:06

标签: talend

I have been working on Talend lately, and I was wondering if I can specify Static conditions on the TUniqRow Component, as far as I know, In this component you select the columns needed, normally keys, then you can select the duplicates which is calculated based on the selection. Now, what I am looking for is, after choosing a column, I'd like to specify values in that column in which it if duplicates of those values occur it should go to the duplicates output. For example: Say I have this list:

ID | Status

1 |1

1 |2

1 |3

1 |4

1 |5

1 |6

1 |5

1 |6

What I would like to specify is after choosing status, I specify the values 1 and 5.

1 个答案:

答案 0 :(得分:0)

tFileInputDelimited -----> tUniqRow ---(重复) - > tFilterRow ----> tLogRow

输入文件同时具有列ID&状态 在tUniqRow中,根据STATUS列获取重复流 而不是在tFilterRow中,在STATUS列上使用equals运算符,并将值作为" 1" &安培; " 5"并选择逻辑运算符为OR

希望这会有所帮助..