Rollup Component as Scan Component

How to use rollup Component as Scan Component? On what condition Rollup component can be used as SCAN?

Showing Answers 1 - 3 of 3 Answers


  • Mar 9th, 2017

A rollup component cannot be used as Scan , but vice versa i.e.., a scan component can be able to achieve the utput of a rollup component, In case of Rollup the finalise function exec is once per group so only 1 record per group we will get, But in case of scan Finalise function will be executed for each and every record, hence along with the other ouputs per group we can get the rollup output included in same.


  • Sep 22nd, 2017

As per my understanding, we cannot use rollup component as a scan component. The reason for this is Scan gets the cumulative data and can process the same number of output records as the number of input records, but that cant be the case with a rollup. Rollup will always perform a group by on the key mentioned thus reducing the number of records as one record per key column mentioned.

  Was this answer useful?  Yes


  • Apr 30th, 2018

Rollup will produce same number of columns as scan only in case when all the columns are selected as rollup key

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions