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

Which are the different editions of informatica powercenter that are available?

0 Answers  


A mapping contains (1) Source Table S_Time ( Start_Year, End_Year ) (2) Target Table Tim_Dim ( Date, Day, Month, Year, Quarter )

1 Answers  


if suppose i have 3 columns namely 1,2,3 in table a and 1,2,3 in table b Now in table a 1,2 and table b 1,2 columns are having same data.now based on this two columns either data should get inserted or updated. How do i write a sql query to check whether the data is populated correctly or not

2 Answers   Cap Gemini,


What is the format of informatica objects in a repository? What are the databases that informatica can connect to windows?

0 Answers  


Hi, I am unable to connect ports from two Active trasformations to another active transformation ? Why is it so? Why it is designed like that? Some rules has been designed like this that is We can't connect passive and another passive to active.Can any one please letme know all these rules. Ex:- I am trying to connect filter1 and filter2 to another filter. Please answer me Advance Thanks

1 Answers   IBM,


1)can anyone explain how to use Normalizer transformation for the following scenario Source table | Target Table | Std_name ENG MAT ART | Subject Ramesh Himesh Mahesh Ramesh 68 82 78 | ENG 68 73 81 Himesh 73 87 89 | MAT 82 87 79 Mahesh 81 79 64 | ART 78 89 64 | please explain what should be the normalizer column(s) The GCID column 2)Also please explain the Ni-or-1 rule.

5 Answers   FCS, IBM, Satyam, TCS,


how to load dimension table and fact table. plz tell me the steps.

0 Answers   Cognizant, IBM,


Explain the code page compatibility?

0 Answers  


What is the method of seperating unique and duplicate records in session level?

2 Answers   Emphasis, JBL, Wipro,


What are the tasks that source qualifier perform?

0 Answers   Informatica,


what is bridge tables in informatica

1 Answers   CTS,


What is dimensional table?

0 Answers  


Categories