The Union transformation is an active and Connected transformation.
Points to remember:
The Union transformation is a multiple input group transformation that you can use to merge data from multiple pipelines or pipeline branches into one pipeline branch. It merges data from multiple sources similar to the UNION ALL in SQL statement to combine the results from two or more SQL statements.
Points to remember:
- We can create multiple input groups, but only one output group.
- We can connect heterogeneous sources to a Union transformation.
- All input groups and the output group must have matching ports. The precision, datatype, and scale must be identical across all groups.
- The Union transformation does not remove duplicate rows. To remove duplicate rows, we must add another transformation such as a Router or Filter transformation.
- We cannot use a Sequence Generator or Update Strategy transformation upstream from a Union transformation.
Working with Union transformation:
- Import/ create soure and target.
- In the mapping drag source, target, and create Union transformation.
- Edit Union Transformation. Go to Groups Tab
- One group will be already there as we dragged ports from Source to Union Transformation.
- As we have n source tables, we need n input groups. Click Add button to add more groups.
- We can also modify ports in ports tab.
- Click Apply -> Ok.
- Drag target table now.
- Connect the output ports from Union to target table.
- Validate mapping.
- Create Session and Workflow. Run the workflow
Question: I have different flatfiles with same structure presented in different locations, and I need to merge data vertically. Then how many Union transformations I need?
Ans: In this particular scenario, we use "Indirect loading" at session level which will discuss in next posts.
Note: If the source tables are relational tables then we can write Sql query (Union) at Source Qualifier transformation for best result (in case of more source tables).
This is very informative and this is very usefull to us.
ReplyDeleteInformatica online training , informatica training in bangalore
informatica online training , informatica training in bangalore , informatica training , informatica online trainig in bangalore
ReplyDeleteGreat Article
Artificial Intelligence Projects
machine learning final year projects 2020
JavaScript Training in Chennai
JavaScript Training in Chennai Project Centers in Chennai
I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai
https://bayanlarsitesi.com/
ReplyDeleteGüneşli
Halkalı
Florya
Akbatı
BWQY8S
elazığ
ReplyDeletebilecik
kilis
sakarya
yozgat
KN73PU
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
UFRHUD
denizli evden eve nakliyat
ReplyDeletekars evden eve nakliyat
çorum evden eve nakliyat
kars evden eve nakliyat
malatya evden eve nakliyat
OBYY
8CE69
ReplyDeleteÇerkezköy Yol Yardım
Adana Lojistik
Mersin Parça Eşya Taşıma
Ağrı Parça Eşya Taşıma
Muş Lojistik
Rize Lojistik
Eskişehir Şehir İçi Nakliyat
Ordu Şehir İçi Nakliyat
Düzce Evden Eve Nakliyat
5E78F
ReplyDeletePoloniex Güvenilir mi
Pursaklar Fayans Ustası
Antalya Parça Eşya Taşıma
Ordu Lojistik
Binance Güvenilir mi
Sui Coin Hangi Borsada
Loop Network Coin Hangi Borsada
Flare Coin Hangi Borsada
Caw Coin Hangi Borsada
5E947
ReplyDeleteAnkara Telefonda Rastgele Sohbet
rize sesli sohbet sesli chat
rastgele sohbet siteleri
bayburt parasız görüntülü sohbet uygulamaları
düzce ücretsiz sohbet sitesi
canli sohbet
Adana Parasız Sohbet Siteleri
kastamonu seslı sohbet sıtelerı
bayburt rastgele sohbet uygulaması
DDEC100192
ReplyDeletegüvenilir takipçi alma