hi all
my source looking like below
column1 column2
101,102,103 abc,def,ghi
1001,1002,1003 a,b,c
i want my target is
column1 column1
101 abc
102 def
103 ghi
1001 a
1002 b
1003 c
any one can you help
Answer Posted / fiero
Is the number of values in each column going to be a constant (i.e. 3 in this case)? If yes, there are couple of ways to do it.
Option 1:
Pass column 1 and 2 to an expression transformation.
Use string functions to determine the positions of commas in column 1 and store the values in individual output fields (e.g. 101 in field 1, 102 in field 2, etc). Do the same with the column 2 values.
Pass the individual o/p fields to a normalizer to transform the columns into rows.
Option 2:
Since the values are separated by comma, you can choose to write column 1 to a flat file target. Do the same with the column 2 values.
Then, use the files created from step 1 as CSV (delimited) file sources and use normalizer to transform them into rows.
Note: Normalizer will work only if the number of columns is known. If the number of columns can vary during run time, then you will have to think of something else.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is workflow? What are the components of workflow manager?
What is the maplet?
How we can create indexes after completing the load process?
Under what condition selecting sorted input in aggregator may fail the session?
What are the different ways to implement parallel processing in informatica?
Difference between Target-based loading and constraint-based loading?
What are the new features of Power Center 5.0?
I need the output file in the below format using Informatica. __0946684800__ 6 1 3 1 5 1 6 1 10 1 6 10 Pos State Time Split AgentID Reason Spaces Code in Code Spare state ______ ___ _____ ______ __________ ______ 1234 14 0 4321 3103 abcd 4321 15 5 123452 3150 Can someone help please?? We need the data in space-delimited, fixed ASCII format .
What is enterprise data warehousing?
What is the fact table?
Mention a few design and development best practices for informatica?
Performance tuning( what you did in performance tuning)
How can we create index after completion of load process?
generate date / time dimension in informatica
Explain target update override in informatica