Informatica PowerCenter中的联接器转换-无法将源中的重复值与目标联接在一起

时间:2019-01-17 14:05:17

标签: informatica-powercenter joiner

我有以下情况

Source 1:    Category_DTL

Category_ID    Date         Value

1       20180101    10
1       20180110    12
2       20180101    14
3       20180101    15
4       20180101    10


Source 2:    Category_Master

Category_ID    Name Comments
1       abc C1
2       xyz C2
3       qwe C3
4       rty C4
5       qqq C5
6       www C6


I need output as:

Category_ID    Date         Value   Name    Comments
1       20180101    10  abc C1
1       20180110    12  abc C1
2       20180101    14  xyz C2
3       20180101    15  qwe C3
4       20180101    10  rty C4



But When I use joiner transformation in Informatica PowerCenter, I get following output:
Category_ID    Date         Value   Name    Comments
1       20180101    10  abc C1
1       20180110    12  
2       20180101    14  xyz C2
3       20180101    15  qwe C3
4       20180101    10  rty C4

如果源在连接条件中使用的键列上具有重复值,则仅将源中的第一条记录与主表匹配。

Join conditon > Category_Master.Category_ID = Category_DTL.Category_ID
Join type used > Detail outer Join
Master Table > Category_Master
Detail Table > Category_DTL

任何获得预期结果的建议都会受到赞赏。

0 个答案:

没有答案