Escolar Documentos
Profissional Documentos
Cultura Documentos
Source Qualifier
Unit 3
Unit Objectives
Understand when and how to use:
Source Qualifier transformation
Source Qualifier join
Overall lab project
Unit 3
Active
Ports
Represent table columns
or file fields
All input/output (I/O)
Usage
Mandatory for flat file and
relational table sources
Converts source datatypes
to PowerCenter datatypes
For relational sources,
selects only columns used
in mapping
Unit 3
Datatype Conversion
NATIVE DATATYPES
Native
TRANSFORMATION DATATYPES
Transformation
Native
Transformation datatypes allow mix and match of source and target database types
When connecting ports, native and transformation datatypes must be compatible
(or must be explicitly converted)
Unit 3
Velocity Methodology
In labs, we will use Informaticas Velocity methodology:
Templates
Mapping specification templates
Source to target field matrix,
Naming conventions
Object type prefixes: m_, exp_, agg_, wfl_, s_,
Best practices
Look for icon in labs
Unit 3
ETL Phase 1
(Labs 1-7)
Sources
Comma-delimited flat files
Fixed-width flat file
Relational tables
Staging
Area
Relational tables
Unit 3
Data
Warehouse
Relational tables
Tool
Step
Designer
Designer
Unit 3
Lab A
Sources
Staging
Area
STG_PAYMENT (table)
Unit 3
(pass through
mapping)
Lab A Review
What did we accomplish with this lab?
Questions?
Unit 3
10
Homogeneous Join
Homogeneous joins combine data from tables within the same database
related by primary and foreign keys in the PowerCenter source definitions
Primary/foreign
key relationship
Unit 3
11
Unit 3
12
Staging
Area
Sources
Lab B
STG_PRODUCT (table)
Unit 3
(homogeneous
join)
13
Lab B Review
What did we accomplish with this lab?
Questions?
Unit 3
14
Source Pipelines
Each Source Qualifier transformation starts a single
source pipeline
A mapping can have multiple source pipelines.
Transformations can split one source pipeline into
multiple pipeline branches
T
Source
pipeline
T
T
Unit 3
2 pipeline
branches
15
Staging
Area
Sources
Lab C
STG_DEALERSHIP
STG_PROMOTIONS
(tables)
Unit 3
(2 pipeline
mapping)
16
Lab C Review
What did we accomplish with this lab?
Questions?
Unit 3
17
Unit 3 Quiz
1. When would you use a Source Qualifier transformation?
2. What kinds of ports does it have?
3. How can you use it to join two sources?
Unit 3
18