Rollup Abinitio Run Time Behaviour
Rollup Abinitio Run Time Behaviour
Rollup reduces each group of data records to a single aggregate output record,
using a series of transform functions as follows:
With the first data record of each group, Rollup creates a temporary aggregate
record.
With each following data record of the same group, Rollup updates the temporary
aggregate record.
Runtime :Computation
Rollup calls the rollup transform function for each record in a group, using that
record and the temporary record for the group as arguments.
The rollup transform function returns a new temporary record.
Runtime :Finalization
Rollup repeats this procedure with each group.
If you set sorted-input to In memory: Input need not be sorted:
After Rollup processes all the input records, it calls the finalize transform
function with the temporary record for each group and an arbitrary input record
from each group as arguments.
The finalize transform function produces an output record for each group.