Documente Academic
Documente Profesional
Documente Cultură
Unconnected Lookup,
Parameters and Variables
Unit 13
Unit Objectives
Understand why and how to use:
Unconnected Lookup transformation
System variables
Mapping parameters and variables
Unit 13
Unconnected Lookup
Unit 13
Row keys
(passed to Lookup)
Unit 13
Condition
(true for 2 percent of all
rows)
Lookup
(called only when condition is
true)
Must check a
Return port in the
Ports tab, or
expression that
calls lookup is
invalid.
Unit 13
UNCONNECTED LOOKUP
Unit 13
System Variables
SYSDATE
SESSSTARTTIME
$$$SessStartTime
Unit 13
10
Set datatype
User-defined
($$name)
Set
aggregation
type
Set optional
initial value
Unit 13
11
12
Unit 13
13
Variables
1. Parameter file
1. Parameter file
Unit 13
14
Unit 13 Lab
Load Sales Fact Table
Create a mapping using:
Source Qualifier for homogeneous join
Unconnected Lookup transformation
Aggregator transformation
Mapping parameters
Create/run a workflow for this mapping
Staging
Area
Data
Warehouse
STG_TRANSACTIONS
STG_PAYMENT
(tables)
FACT_SALES
(table)
Unit 13
15
Lab Review
What did we accomplish with this lab?
Questions?
Unit 13
16
Unit 13 Quiz
When would you use :
Unconnected Lookup transformation?
Mapping parameters and variables?
Unit 13
17