简体   繁体   English

Joiner和Union Transformation之间的区别

[英]Difference between Joiner and Union Transformation

I'm new to Informatica....What is the difference between Joiner and Union Transformation? 我是Informatica的新手。...Joiner和Union Transformation有什么区别? Also, Should we use Router instead of Joiner, to increase performance when there are multiple sources? 另外,当有多个源时,是否应该使用路由器而不是Joiner来提高性能?

Joiner 木匠

  1. Using joiner we can remove duplicate rows 使用细木工,我们可以删除重复的行

  2. Joiner can be Normal,Right Outer,Left Outer,Full Outer Join 细木工可以是普通,右外,左外,全外木

  3. In Joiner we have one input group and one output group 在Joiner中,我们有一个输入组和一个输出组

  4. Joiner implemented by using Joiner Transformation in Informatica. 通过使用Informatica中的Joiner Transformation实现的Joiner。

  5. Joiner Transformation combines data record horizontally based on a join condition Joiner Transformation根据联接条件水平组合数据记录

  6. Joiner Transformation combines data record horizontally based on a join condition Joiner Transformation根据联接条件水平组合数据记录

Union 联盟

  1. Union will not remove duplicate rows 联合不会删除重复的行

  2. Union is equlivalent to UNION ALL in SQL 联合等效于SQL中的UNION ALL

  3. In Union we have multiple input groups and one output group. 在Union中,我们有多个输入组和一个输出组。

  4. Union implemented by using Union Transformation in Informatica 通过使用Informatica中的Union Transformation实现联盟

  5. Union Transformation combines data record vertically from multiple sources Union Transformation结合了来自多个源的垂直数据记录

  6. Union also supports hetregenous(different sources) 联盟还支持异质性(不同来源)

Now, Router transformation is an active and connected transformation. 现在, 路由器转换是一种主动相互联系的转换。 It is similar to the filter transformation used to test a condition and filter the data. 它类似于用于测试条件和过滤数据的过滤器转换。 In a filter transformation, you can specify only one condition and drops the rows that do not satisfy the condition. 在过滤器转换中,您只能指定一个条件,并删除不满足该条件的行。 Where as in a router transformation, you can specify more than one condition and provides the ability for route the data that meet the test condition. 与在路由器转换中一样,您可以指定多个条件,并提供路由满足测试条件的数据的功能。 Use router transformation if you need to test the same input data on multiple conditions. 如果需要在多个条件下测试相同的输入数据,请使用路由器转换。

So, when the data is coming from muliple sources you can use Router to route values accordingly. 因此,当数据来自多个来源时,您可以使用Router相应地路由值。 It will increase your performance and save time too. 它将提高您的性能并节省时间。

Joiner   
1.For two sources to be joined there must be at least a common column between those two with
  same data types based on which it can be joined.
2.Horizontal merging of Sources can be done.
3.Types are a.Normal
            b.Left Outer
            c.Right Outer
            d.Full outer
4.At a single time can join two sources at most.
5.Avoids duplicates if join condition is correct.

Union
1.In Union all the columns of the two sources must have similar data types
  and Number of columns of source1 must be equal to no of columns in source2.
2.Vertical merging of Sources are done.
3.Does not have any types.
4.At a single time as many sources can be there.
5.As it is equal to Union all in SQL,So can have duplicates also.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM