Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


If we are using an aggregator but forget to mention the
group by port .what will be the output??

Answers were Sorted based on User's Feedback



If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / srinu

No group by Port-
The AggTrans wil check for group by Column port up to last
column. No group by port was find,The AggTrans wil return
the last row only.
Every Column row wil check for Group by port done or not,
up to last row.
Finally (By default) last row will return.
Last Row still waiting for Group by port.,,,,
Thats why Group by prot is must.

Any Corrections,,,,,srinu.srinuvas@gmail.com

Is This Answer Correct ?    57 Yes 4 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / kt

If we miss to enable any of the port as GROUP BY, the
aggregator will write the lat row of the table to the next
trnasformation.

Is This Answer Correct ?    50 Yes 1 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / sheelendra

I agree with Srinu.
and It will return only one aggregated value for all input.

Is This Answer Correct ?    13 Yes 1 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / g. manthiramoorthy

If we miss to enable any of the port as GROUP BY, the
aggregator will write the lat
row of the table to the next transformation

Is This Answer Correct ?    11 Yes 0 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / g. manthiramoorthy

If we miss to enable any of the port as GROUP BY,
the aggregator will write the last row of the table to the
next transformation

Is This Answer Correct ?    8 Yes 0 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / insha

I agree with shreenivas

Is This Answer Correct ?    4 Yes 0 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / vikneswaran

output is single record.for examples

col1
1
1
1
2
2
2
3
3
4
if i use group by and sum(col1) ...
output
col1
3
6
6
4
if i didn't use group by but same agg function
output
col1
19

Is This Answer Correct ?    10 Yes 7 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / guest

8

Is This Answer Correct ?    0 Yes 0 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / uppala chary

first of all group by port G is mandatory ,if u don't
enable the group by port it wiil returns last record,and
enable the group by port it will return all the records.

Is This Answer Correct ?    0 Yes 0 No

If we are using an aggregator but forget to mention the group by port .what will be the output??..

Answer / cooldude

It will behave like a passive transformation.All the rows
are passed witout any aggregation.

Is This Answer Correct ?    8 Yes 54 No

Post New Answer

More Informatica Interview Questions

if soource is having 10 records how will u insert 20 records to target

6 Answers   HCL,


By using Transformation i need top most 5 employee salary from each deptwise? Deptno 10,20,30? which transformation we need to use?

8 Answers  


whatis the default data driven operation in informatica

2 Answers  


how to connect two or more table with single source qualifier?

4 Answers   IBM,


what is constraint based loading

2 Answers   IBM,


How to improve the performance of Aggregate transformation?

3 Answers   Dmss,


Converting Rows to columns I have Relational source like his. JAN FEB MAR APR 100 200 300 400 500 600 700 800 900 100 200 300 I need to convert these rows into columns to the targe. MONTH TOTAL JAN 1500 FEB 900 MAR 1200 APR 1500 Please experts help me

8 Answers   HP,


What is the difference between STOP and ABORT options in Workflow Monitor?

0 Answers  


There are 2 files, Master and User. We need to compare 2 files and prepare a output log file which lists out missing Rolename for each UserName between Master and User file. Please find the sample data- MASTER.csv ---------- Org|Tmp_UsrID|ShortMark|Rolename ---|---------|----------|------------ AUS|0_ABC_PW |ABC PW |ABC Admin PW AUS|0_ABC_PW |ABC PW |MT Deny all GBR|0_EDT_SEC|CR Edit |Editor GBR|0_EDT_SEC|CR Edit |SEC MT103 GBR|0_EDT_SEC|CR Edit |AB User USER.csv -------- Org|UserName|ShortMark|Rolename ---|--------|---------|------------ AUS|charls |ABC PW |ABC Admin PW AUS|amudha |ABC PW |MT Deny all GBR|sandya |CR Edit |Editor GBR|sandya |CR Edit |SEC MT103 GBR|sandya |CR Edit |AB User GBR|sarkar |CR Edit |Editor GBR|sarkar |CR Edit |SEC MT103 Required Output file: --------------------- Org|Tmp_UsrID|UserName|Rolename |Code ---|---------|--------|------------|-------- AUS|0_ABC_PW |charls |ABC Admin PW|MATCH AUS|0_ABC_PW |charls |MT Deny all |MISSING AUS|0_ABC_PW |amudha |ABC Admin PW|MISSING AUS|0_ABC_PW |amudha |MT Deny all |MATCH GBR|0_EDT_SEC|sandya |Editor |MATCH GBR|0_EDT_SEC|sandya |SEC MT103 |MATCH GBR|0_EDT_SEC|sandya |AB User |MATCH GBR|0_EDT_SEC|sarkar |Editor |MATCH GBR|0_EDT_SEC|sarkar |SEC MT103 |MATCH GBR|0_EDT_SEC|sarkar |AB User |MISSING Both the files are mapped through Organization, Shor_mark. So, based on each Organization, Short_Mark, for each UserName from User.csv, we need to find the Matching and Missing Rolename. I am able to bring Matching records in the output. But really I don't find any concept or logic to achieve "MISSING" records which are present in Master and not in User.csv for each UserName. Please help out guys. Let me know if you need any more information. Note:- In User.csv file, there are n number of Organization, under which n number Shortmark comes which has n number of UserName.

1 Answers  


Tell me about informatica architecture.

2 Answers   TCS,


rank() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid order by case when opt2.dm_market_flg in ('Y', 'U') then 1 else 2 end, lkp.contact_rank) as rank1, case opt2.contact_type when 'Buyer' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, ship_to_flg desc , last_order_dt desc) when 'Decision Maker' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc , last_quote_dt desc , mailability_score desc , source_ranking desc) when 'Influencer' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, mailability_score desc, source_ranking desc) when 'Payer' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, mailability_score desc, source_ranking desc) --elu 05/28/2013 else row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, mailability_score desc, source_ranking desc) end rank2 row_number() over (partition by opt3.dim_plat_site_id, opt3.dim_site_opt_sid order by rank1,rank2) as "rank", case when "rank"<= opt3.maximum_value then 'Y' else 'N' end as include_flg

0 Answers  


I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure the conversion happens on all commas except the ones enclosed in Double quotes .

2 Answers   CTS,


Categories