Column S Name | Data type | Precession | Scale |
Dept no | Number(p,s) | 10 | 2 |
Dname | Varchar2(20) | ||
Sum(SAL) | Number(p,s) | 10 | 2 |
Step:2
Create a target definition with the name TRG (dept no, dname, sum (sal))
Step3:
Transformation Attribute |
Value |
SQL Query | Select Emp. Deptno, Dept. Dname, Sum(SAL) From emp, Dept where emp.deptno= dept.deptno group by emp.deptno , dept.Dname order by emp.Deptno |
Click apply and click ok
Normal join:
It combined the data records based on equality match (=) (Emp .dept No= dept. dept No)
Master join:
It combines all the records from detailed source + mach rows from master source
Detailed outer join:
It combines all the rows from master source + matching records from detailed source
Full outer join:
It combines matching + non matching records from both master and detailed source
Joiner cache – how it works:
There are 2 types of cache memory, index and data cache.
All rows from the master source and loaded into cache memory
The index cache contains all ports values from the master source where the port is specified in the join condition.
The data cache contains all port values not specified in the condition.
After the cache is loaded the detail source is compared row by row to the values in the index cache.
Up on match the row from the data cache are included in the stream.
Cache is created only for master source
Cache is created only for master source
If you want to enrich your career and become a professional in Informatica, then visit Tekslate - a global online training platform: "Informatica Training" This course will help you to achieve excellence in this domain. |
Create the following source definition
[empno, ename, job, sal, deptno, dname, loc]
[empno, ename, job, sal, deptno,deptno]
[deptno, dname,loc]
Double click on joiner transformation select the condition tab
From tool bar click on add a new condition.
MASTER | Operator | Detail |
Dept no1 | = | deptno |
Click apply ,click ok
Union transformation:
This is the type of an activity transformation which combined the data records vertically from multiple source having same meta data
The union transformation also supports heterogeneous data sources.
Ex1:
Emp(oracle), employee (SQL server)
Ex2:
Emp(oracle), emp.txt(flat file)
The union transformation is created with the 2 groups
It can receive the data from source pipe line
It provides the data further processing (or) loading.
Procedure:
Create the following source definition
Input group name:
Emp – input
Employee – input
Select the group port tab
Port Name |
Data type |
precession |
Scale |
Empno | Decimal | 7 | 2 |
Ename | Varchar2 | 7 | 2 |
Job | Varchar2 | 7 | 2 |
Sal | Decimal | 7 | 2 |
dept | decimal | 7 | 2 |
Hydrogenous joins:
Procedure:
Create the following source definition
Create a target definition with name EMP_DEPT_Hetrogenious
Empno,ename,sal,job,deptno,dname,loc
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.