I have the source like
col1 col2
a l
b p
a m
a n
b q
x y
How to get the target data like below
col1 col2
a l,m,n
b p,q
x y
Answer Posted / hanan
src->exp->agg->tgt
src:-
In sql query write order by col1
exp:-
col1->
col2->
var_col2=iif(col1=var_col1,var_col2||','||col2)
var_col1=col1
output_port=var_col2
agg;-
select group by col1
tgt:-
connect to target
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the measure objects?
How many transformations can be used in mapplets.
How can we use mapping variables in informatica?
What are the reusable transformations?
Can we create a node as a gateway node and the same node can be assigned to a grid?
Can informatica load heterogeneous targets from heterogeneous sources?
What is Data Caches size?
What are the types of caches in lookup? Explain them.
What are the prerequisite tasks to achieve the session partition?
How does the aggregator transformation handle null values?
How to create the list file having millions of flat files while indirect loading in informatica? In indirect file loading, suppose we have less no.of flat files then we can enter files names manually in list file creation. If millions of files are there, how can we enter the flat file names in list file?
What is dynamic cache?
In informatica workflow manager, how many repositories can be created?
How to load the name of the current processing flat file along with the data into the target using informatica mapping?
Name the different lookup cache(s)?