If no. of source columns is changing every time (First time
it is 10 next time it is 20 so on). How to deal with it
without changing mapping?

Answers were Sorted based on User's Feedback



If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / shrikant

Hello,
If I understand this question properly, it says that the
no. of "Source" columns are changing.
I do not agree with this scenario. Probably in
Datawarehousing, you won't find such a design. As far as
DWH is concerned, it takes the data from the OLTP systems &
after performing some operations (E-extract, T- transform)
it finally loads the data in some targets.
Here, as per the question, the question itself arises for
the OLTP design. No any OLTP (or database design principal)
system suggests a varying number of columns.
So, please do not get confused by such trivial kind of
questions. DWH is a very disciplined subject & it follows a
very good standards. Please go through the concepts first.
You will get a clear picture of DWH then.

Is This Answer Correct ?    18 Yes 3 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / santosh sinha

This is really a confusing question and raise question on
OLTP design butIf we are not changing the design of column
which is used in our mapping then it will not effect the
mapping so increasing the no of column will not effect.

Is This Answer Correct ?    2 Yes 0 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / sam

If your Source is XML this kind of scenario will come.Take
the exact XML DDL (max number of columns)as a source
defination.

Is This Answer Correct ?    0 Yes 0 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / suganthi

We do have a design like this(in DWH to DM load). But to
accomplish this we have created a procedure to add new
columns in teh table.

Is This Answer Correct ?    0 Yes 0 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / bidhar

If this is the requirement,then you will have to reimport
the source metadata in source analyzer and the save so that
the new columns are reflected in the mapping source.But to
pull it to target you need to join manually the pipelines.

But Such type of scenarios rarelly comes in OLAP models.A
good DWH design should be in such a way that if in future
any new columns come in the OLTP systems then DWH can
accomodate that.
For example Product Table has 20 columns in OLTP system.
Then OLAP model can have more than 20 columns for Product
Dimension(ATRIBUTE_1,ATRIBUTE_2 and so on)and populate null
values into that.
Now whenever new columns are added into the OLTP Product
table then we can simply map the new column to the ATRIBUTE
Columns,Keeping the datatypes in mind.

Is This Answer Correct ?    0 Yes 0 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / arnab

This should not happen when executing a datawarehousing
project , This reflects poor design and poor visualisation
of the requirements

The safest way to handle this is re-import the source
definition, someone suggested create a source with the
maxinmum number of columns , there is something called
quality of code and if someone codes like this it is really
a bad example of informatica coding

Is This Answer Correct ?    0 Yes 0 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / srinu

Some one is not agree with Sathish Rajaiah
answer(1 No)ABOVE answer.
Let me Explain Why ?

Is This Answer Correct ?    0 Yes 1 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / rekha

I THINK U CAN DO IT BY MAPPING PARAMETERS

Is This Answer Correct ?    0 Yes 3 No

If no. of source columns is changing every time (First time it is 10 next time it is 20 so on). Ho..

Answer / sathish rajaiah

Create source defination with maximum (depends on the max
numbers of columns u get in the source) number of fields
and use that in the mapping.
ex: create source defiantion with 20 fields and use this in
mapping this wil handle source comes with columns btween 1
to 20.

Note : Above wrks only for flat file sourcse not fr RDBMS
sources

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Informatica Interview Questions

Explain sessions and how many types of sessions are there?

0 Answers  


How can we join the tables if they don't have primary and foreign key relationship and no matching port?

7 Answers  


A TABLE CONTAINS SOME NULL VALUES . HOW TO GET (NOT APPLICABLE(NA)) IN PLACE OF THAT NULL VALUE IN TARGET .?

5 Answers   HP,


Write a query to display Which deptno is containing highest Sal > avg (sum (Sal)) of all deptno; Avg (sum (Sal)) o f all deptno= 9675 Deptno, sum (Sal) 10 8750 20 10875 30 9400

7 Answers   iGate,


,if we have single SQ in flow and we have router in which it has two group and we want to join these two groups with joiner ?is it possible?

3 Answers   Emphasis,






Briefly define a session task?

0 Answers  


A Main workflow "wkf_Main" has multiple sessions (S1, S2...., can I make changes and promte one session (S5) at any time or have to promote whole Workflow "wkf_Main" every time?

4 Answers  


What are the modules in Power Center

0 Answers  


WHAT IS THE DIFFERENCE B/W 7.X AND 8.X ? TELL ME FEW DIFFERENCES.

2 Answers  


In my sourse i have like ename,gender vasu,male geetha,female ram,male suma.female kesav,male in my output i need male,female vasu,geetha ram,suma kesav

5 Answers  


Hi If i had source like unique & duplicate records like 1,1,2,3,3,4 then i want load unique records in one target like 2,4 and i want load duplicate records like 1,1,3,3 then can any body please send me what is th scnario. my mail i shek.inform@gmail.com

6 Answers   HCL, Schneider,


What is data transformation manager process?

0 Answers  


Categories