0% found this document useful (0 votes)
59 views8 pages

Etl Informatica Training

This document provides a mapping of data from an EMP source table to a T_EMP target table. It describes the data types and transformations for each column, such as straight pulls, calculations, and handling null values. It also outlines test queries to validate the data load, such as checking counts, null values, and duplicate records.

Uploaded by

babjeereddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views8 pages

Etl Informatica Training

This document provides a mapping of data from an EMP source table to a T_EMP target table. It describes the data types and transformations for each column, such as straight pulls, calculations, and handling null values. It also outlines test queries to validate the data load, such as checking counts, null values, and duplicate records.

Uploaded by

babjeereddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

MAPPING DO

Prepared By Babjee

Reviewed By

Version 1
SOURCE Emp TARGET
Schema lab2btrg37 Schema
Colum Name Data Type Transfermations Colum Name
Empno Number(4) Stright Pull/One To One Mapping Empno
Ename Varchar2(40) Stright Pull/One To One Mapping Ename
Job Varchar2(20) Stright Pull/One To One Mapping Job
Mgr Number(4) Stright Pull/One To One Mapping Mgr
Hiredate Date Round(Sysdate-Hiredate)/365,0) Experience
Sal+Com; Check null values in each column,if null
Sal Number(10,2) values replace with zero Total_Salary
Comm Number(10,2)
Deptno Number(2) Stright Pull/One To One Mapping deptno

Note: create source and target table with create1.txt & Example1_pic for mapping

Mapping :M_T_EMP
Session : S_M_T_EM
WORKFLOW: WF_S_M_T_EMP

1. Check source and target tables existance and their data types
2.Check whether job is avaiable to load data to target
3. Execute job and data validation
4. Repeate the process with different set of data
5.Test data validation with Qry1
6.Test source target count with Qry2
7.Test null value validation with Qry3
8.Test Duplicate data with Qry 4
MAPPING DOCUMENT FOR T_EMP TABLE LOAD

T_Emp
Schema
Data Type
Number(4) Qry1
Varchar2(40) (Select empno,ename,job,mgr,deptno,round((sysdate-hiredate)/365,0)
Varchar2(20) Experience, nvl(sal,0)+nvl(comm,0) total_salary from emp
Number(4) minus
Number(4) Select empno,ename,job,mgr,deptno,experience,total_salary from

Number(10,2) t_emp)
union
Number(4) (Select empno,ename,job,mgr,deptno,experience,total_salary from
t_emp
minus
Select empno,ename,job,mgr,deptno,round((sysdate-hiredate)/365,0)
Experience, nvl(sal,0)+nvl(comm,0) total_salary from emp)
Qry2
Count Check Qery
select count(*) from emp
select count(*) from t_emp
Qry3
select 'Empno' ,count(*) as No_of_Null from t_emp where empno is null
union
select 'Ename' ,count(*) as No_of_Null from t_emp where Ename is null
union
select 'Job' ,count(*) as No_of_Null from t_emp where Job is null
union
select 'Mgr' ,count(*) as No_of_Null from t_emp where Mgr is null
union
select 'Experience' ,count(*) as No_of_Null from t_emp where Experience is null
union
select 'deptno' ,count(*) as No_of_Null from t_emp where deptno is null
Qry4
select
Empno,
Ename,
Job,
Mgr,
Experience,
Total_Salary,
deptno,count(*) as no_of_records
from t_emp
group by
Empno,
Ename,
Job,
Mgr,
Experience,
Total_Salary,
deptno having count(*) >1
rience is null

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy