source target
--------- --------
name no sal name no sal max_sal
r 10 1000 r 10 1000 3000
y 20 3000 y 20 3000 3000
Answers were Sorted based on User's Feedback
source-->sq-
| \-------------|
| --->aggr--->target
in target create a new column maxsal now drag the source and
target to the mapping area connect the source to sq.from sq
create two pipelines connect the first pipeline to the target
and the second pipeline to the aggr t/r in aggr t/r create a
new port max_sal=max(sal) connect this pipe line to the target
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / abhinav prakash
1.Pass the ports to an expression t/r.
create a dummy port and give the value as '1'
2.Pass only the salary port to an Aggregator t/r.
Create a dummy port with the same data type and column name
and value as expression.
create o/p port:max(salary)
3.Join these 2 t/r using joiner and join on the dummy port.
ensure u have checked the sorted input option.
4Pass the o/p to the target.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikishore
JAMES YOUR ANSWER IS CORRECTIN IN ORACLE,BUT I WANT ANSWER
IN INFORMATICA LEVEL AND UR SOURCE IS FLAT FILE HOW TO DO
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / babu
HI James and Simha,
I think u r answer is wrong,please check once.
as per my knowledje,the query is
SELECT E.*,M.MSAL FROM TABLE_NAME E,(SELECT MAX(SAL) MSAL
FROM TABLE_NAME) M;
IF U R SOURCE IS FLATFILE,U NEED TO GO FOR BELOW MAPPING.
SQ----->TRG_TABLE
|
|---->AGG(MAX(SAL))--->TRG_TABLE(MSAL)
IN THE ABOVE DFD IS
1 SOURCE TO TARGET DIRECT MAPPING ALL COLUMNS EXCEPT
MSAL COLUMN.
2.IN THIS DFD FIND THE MAXSAL AND LINK TO IT MSAL IN
THE TARGET TABLE.
IF THERE IS ANY WRONG PLEASE CORRECT ME.
THANKS,
Babu
Is This Answer Correct ? | 1 Yes | 3 No |
How we will implement Pushdown Optimization and Types in Informatica with better examples
How do you recover rows from a failed session
Q. In source area, it is use complex query we have using 5 to 10 table we has been join now all join clolumn having indexes but still we having performance issue. how to fix the performnce issue of the query.
How do we implement materialized view?when to use materialized view?
difference between informatica 8.1.1 and 8.6? And different betweeninformatica 7x and 8x?
Explain the tuning lookup transformation - informatica
what is the use of Java Transformation in Informatica 8.x?
Can any one describe what is audit table briefly?how does it look like and what are the columns in it?
How are parameters defined in informatica?
can we use mapplet as starting n ending object in mapping
how to join the 2 different table with different columns in informatica?
how to insert header after each group.