Description
AggregateNode.getAccumulator does this for any aggregation other than COUNT or SUM:
final AggImpState agg = new AggImpState(0, call, false);
int stateSize = agg.state.size();
This NPEs because "state" is null on freshly created AggImpState instances.
Attachments
Issue Links
- duplicates
-
CALCITE-1436 AggregateNode NPE for aggregators other than SUM/COUNT
- Closed