简体   繁体   English

Informatica PowerCenter 中的平面文件

[英]Flat files in Informatica PowerCenter

There are 2 flat files.有 2 个平面文件。 These files has no common column.这些文件没有共同的列。 Flat file 1 has 10 records, Flat file 2 has 5 records.平面文件 1 有 10 条记录,平面文件 2 有 5 条记录。 I want 4 different targets :我想要 4 个不同的目标:

  1. 10 records from file 1来自文件 1 的 10 条记录
  2. 5 records from file 2文件 2 中的 5 条记录
  3. 15 records from both the files来自两个文件的 15 条记录
  4. 50 records (like cross join) 50 条记录(如交叉连接)

I am attaching a hand-drawn picture.我附上一张手绘图。

  • 10 records from file 1 - Straight from SQ 1 to target 1 5 records文件 1 中的 10 条记录 - 直接从 SQ 1 到目标 1 5 条记录

  • 5 from file 2 - Straight from SQ 2 to target 2文件 2 中的 5 - 直接从 SQ 2 到目标 2

  • 15 records from both the files - UNION SQ1 and SQ2 and push to target 3来自两个文件的 15 条记录 - UNION SQ1 和 SQ2 并推送到目标 3

  • 50 records (like cross join) - Use a joiner to join SQ1 and SQ2 and push to target 4. Join condition will be a dummy column with same value. 50 条记录(如交叉连接) - 使用连接器连接 SQ1 和 SQ2 并推送到目标 4。连接条件将是具有相同值的虚拟列。

在此处输入图片说明

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

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