PowerCenter Level1 Unit05
-
Upload
christian-acosta -
Category
Documents
-
view
261 -
download
2
description
Transcript of PowerCenter Level1 Unit05
-
7/17/2019 PowerCenter Level1 Unit05
1/12
1
Unit 5. Joins, Features and Techniques
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
2/12
2
Unit Objectives
Understand heterogeneous joins
Use the Joiner transformation in a mapping
Practice using Designer features and techniques
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
3/12
3
Heterogeneous Joins
Heterogeneousjoins cannot be performed on a single database, e.g. Oracle table and DB table !lat file and database table
"#o flat files
Use a Joinertransformation $performs the join #ithin the mapping%
One source is designated the &aster, the other Detail
"he Joiner select ro#s from the t#o sources based on a join condition,e.g. matching customer 'D
&aster (ource
Detail (ource
Joiner Join )esults
Join *ondition+&aster.*ustomer'D Detail.*ustomer'D
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
4/12
4
Joiner Transor!ation
-ctie
Ports 'nput or input/output
One source is designated&aster, the other Detail.
*hec0 & column for
ports from &aster source
Usage e1amples+ Join t#o flat files
Join t#o tables from
different databases Join a flat file #ith a
relational table
"eror!s heterogeneous joins on t#o data $o#s
2nter join condition
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
5/12
5
%&eci' Join T'&e
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
6/12
(
Join T'&es
3ormal $inner% join 4 0eeps onl5matching ro#s based on the condition
&aster outer join 6 0eeps all ro#s from
Detail and matching ro#s from &aster
Detail outer join 6 0eeps all ro#s from&aster and matching ro#s from Detail
!ull outer join 6 0eeps all ro#s from both&aster and Detail
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
7/12
)
%hortcuts
- shortcut is a d5namic lin0 to the original object
'f the object is edited, all shortcuts inherit the changes
Original object must be in a shortcut folder
'n same repositor5 4 called a local shortcut
'n a global repositor5 4 called a global shortcut $not used in this course%
*reate a shortcut b5 dragging the object into another open folder orinto a mapping
(hortcuts appear in the 3aigator #indo# #ith a small cured arro#
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
8/12
*
Unit 5 +ab +oad %a$es Transaction %taging Tab$e
-reate a !a&&ing using a Joiner transor!ation heterogeneous join/
-reate0run a #or$o# or this !a&&ing
%a$estransactions
$at i$e/%TT%-T6O%
tab$e/
(ource (taging
-rea
%T"O7U-T tab$e/
Join
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
9/12
8
+ab evie#
7hat did #e accomplish #ith this lab8
9uestions8
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
10/12
19
Unit 5 +ab :Features and Techniques 6
(hortcut to Port 2diting from3ormal :ie#
*reate "ransformation ðods
(cale6"o6!it Designer Options
Object (hortcuts and *opies
*op5 Objects 7ithin andBet#een &appings
Practice using Designer features and techniques+
-uto -rrange
)emoe ;in0s
)eert to (aed
;in0 Path
Propagating Ports
-utolin0 b5 3ame and Position
&oing Ports
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
11/12
11
+ab : evie#
7hat did #e accomplish #ith this lab8
9uestions8
Unit 5
-
7/17/2019 PowerCenter Level1 Unit05
12/12
12
Unit 5 ;ui