aggregateSequence
Base function of Aggregator.
Aggregates the given values, taking valueType into account, filtering nulls (only if valueType.type.isMarkedNullable), and computes a single resulting value.
When the exact valueType is unknown, use calculateValueType or aggregateCalculatingValueType.
Calls the supplied reducer.