complete reference to informatica_ filter transformation

3
7/7/2014 Complete reference to Informatica: FILTER TRANSFORMATION http://informaticatutorials-naveen.blogspot.in/2011/04/filter-transformation_20.html#axzz36nRTJipZ 1/3 Hom e Informatica Data WareHousing Unix-Shell Scripts PL SQL Analytics on Big Data Complete reference to Informatica Sharing Discussion Forum Discussion Forum Introduction ETL Life Cycle What Is Informatica Client Components Services Behind Scene Try U R Hand's on Admin-Console Difference Between 7.1 and 8.6 Informatica 8.6 Installation Interview Zone Informatica Real Time Interview Questions Informatica Experienced Interview Questions - part1 Informatica Experienced Interview Questions - part2 Informatica Experienced Interview Questions - part3 Informatica Experienced Interview Questions - part4 Data Warehousing concept Based Interview Questions Transformation Filter Expression Router Sorter Rank Transaction Control Source Qualifier Stored Procedure SQL Transformation Normalizer Sequence Generator Aggregator Union Joiner Update Strategy Look Up Subscribe to Learn Informatica 457 people like this. Like Share Enter your email address: Subscribe Delivered by FeedBurner FILTER TRANSFORMATION Naveen 20 Apr 2011 Active and connected transformation. We can filter rows in a mapping with the Filter transformation. We pass all the rows from a source transformation through the Filter transformation, and then enter a Filter condition for the transformation. All ports in a Filter transformation are input/output and only rows that meet the condition pass through the Filter Transformation. Example: to filter records where SAL>2000 Import the source table EMP in Shared folder. If it is already there, then don’t Import. In shared folder, create the target table Filter_Example. Keep all fields as in EMP table. Create the necessary shortcuts in the folder. Creating Mapping: 1. Open folder where we want to create the mapping. 2. Click Tools -> Mapping Designer. 3. Click Mapping -> Create -> Give mapping name. Ex: m_filter_example 4. Drag EMP from source in mapping. 5. Click Transformation -> Create -> Select Filter from list. Give name and click Create. Now click done. 6. Pass ports from SQ_EMP to Filter Transformation. 7. Edit Filter Transformation. Go to Properties Tab 8. Click the Value section of the Filter condition, and then click the Open button. 15 Share

Upload: hrtithikjainkim

Post on 10-Dec-2015

15 views

Category:

Documents


3 download

DESCRIPTION

filter t/r

TRANSCRIPT

Page 1: Complete Reference to Informatica_ FILTER TRANSFORMATION

7/7/2014 Complete reference to Informatica: FILTER TRANSFORMATION

http://informaticatutorials-naveen.blogspot.in/2011/04/filter-transformation_20.html#axzz36nRTJipZ 1/3

Home Informatica Data WareHousing Unix-Shell Scripts PL SQL Analytics on Big Data

Contact Us

Complete reference to Informatica

Sharing

Discussion Forum

Discussion Forum

Introduction

ETL Life Cycle

What Is Informatica

Client Components

Services Behind Scene

Try U R Hand's on

Admin-Console

Difference Between 7.1

and 8.6

Informatica 8.6

Installation

Interview Zone

Informatica Real Time

Interview Questions

Informatica Experienced

Interview Questions -

part1

Informatica Experienced

Interview Questions -

part2

Informatica Experienced

Interview Questions -

part3

Informatica Experienced

Interview Questions -

part4

Data Warehousing

concept Based Interview

Questions

Transformation

Filter

Expression

Router

Sorter

Rank

Transaction Control

Source Qualifier

Stored Procedure

SQL Transformation

Normalizer

Sequence Generator

Aggregator

Union

Joiner

Update Strategy

Look Up

Subscribe toLearn Informatica

457 people

like this.Like Share

Enter your emailaddress:

Subscribe

Delivered by FeedBurner

FILTER TRANSFORMATIONNaveen

20Apr 2011

Active and connected transformation.

We can filter rows in a mapping with the Filter transformation. We pass

all the rows from a source transformation through the Filter

transformation, and then enter a Filter condition for the transformation.

All ports in a Filter transformation are input/output and only rows that

meet the condition pass through the Filter Transformation.

Example: to filter records where SAL>2000

Import the source table EMP in Shared folder. If it is already there,

then don’t Import.

In shared folder, create the target table Filter_Example. Keep all

fields as in EMP table.

Create the necessary shortcuts in the folder.

Creating Mapping:

1. Open folder where we want to create the mapping.

2. Click Tools -> Mapping Designer.

3. Click Mapping -> Create -> Give mapping name. Ex:

m_filter_example

4. Drag EMP from source in mapping.

5. Click Transformation -> Create -> Select Filter from list. Give name

and click Create. Now click done.

6. Pass ports from SQ_EMP to Filter Transformation.

7. Edit Filter Transformation. Go to Properties Tab

8. Click the Value section of the Filter condition, and then click the

Open button.

15

Share

Page 2: Complete Reference to Informatica_ FILTER TRANSFORMATION

7/7/2014 Complete reference to Informatica: FILTER TRANSFORMATION

http://informaticatutorials-naveen.blogspot.in/2011/04/filter-transformation_20.html#axzz36nRTJipZ 2/3

You can follow any responses to this entry through the RSS 2.0 feed. You canleave a response.

0 Responses

Leave a Reply

Testing

Unit TestingIntegration TestingUATInformatica TestingDebuggerConstraint Based loadingTarget Load Plan

AdvancedConcepts

Mapping Parameter's &

Variable

Mapplets

Partitioning

Working with links

Scheduler

Types of Task's- 1

Types of Task's- 2

Indirect Method for

Loading

SCD - Type 1

SCD - Type 2

SCD - Type 3

Incremental Aggregation

Mapping Templates

Grid Processing

Frequently Used

Functions

Work Flow Variables

Performance-Tuning

Necessity Of

Performance-tuning

Identification Of bottle

Necks

Optimization of Bottle

necks

Performance tuning of

Lookup

Push Down

Optimization

Chat with Me

Visitor's

9. The Expression Editor appears.

10. Enter the filter condition you want to apply.

11. Click Validate to check the syntax of the conditions you entered.

12. Click OK -> Click Apply -> Click Ok.

13. Now connect the ports from Filter to target table.

14. Click Mapping -> Validate

15. Repository -> Save

Create Session and Workflow as described earlier. Run the workflow

and see the data in target table.

How to filter out rows with null values?

To filter out rows containing null values or spaces, use the ISNULL and

IS_SPACES Functions to test the value of the port. For example, if we

want to filter out rows that Contain NULLs in the FIRST_NAME port, use

the following condition:

IIF (ISNULL (FIRST_NAME), FALSE, TRUE)

This condition states that if the FIRST_NAME port is NULL, the return

value is FALSE and the row should be discarded. Otherwise, the row

passes through to the next Transformation.

Performance tuning:

Filter transformation is used to filter off unwanted fields based on

conditions we Specify.

1. Use filter transformation as close to source as possible so that

unwanted data gets Eliminated sooner.

2. If elimination of unwanted data can be done by source qualifier

instead of filter,Then eliminate them at Source Qualifier itself.

3. Use conditional filters and keep the filter condition simple,

involving TRUE/FALSE or 1/0

Reactions: Excellent (58) Good (23) Useful (22)

Page 3: Complete Reference to Informatica_ FILTER TRANSFORMATION

7/7/2014 Complete reference to Informatica: FILTER TRANSFORMATION

http://informaticatutorials-naveen.blogspot.in/2011/04/filter-transformation_20.html#axzz36nRTJipZ 3/3

Next Entries »« Previous Entries

Enter your comment...

Comment as: Google Account

Publish

Preview

Links to this post

Create a Link

Recent Comments

© 2009 - Complete reference to Informatica is proudly brought to you by Naveen