Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.7.0
Description
COMPUTE STATS and COMPUTE INCREMENTAL STATS might get a slight speedup if we marked the aggregation slots as non-nullable.
Of course, regular uses of NDV() and NDV_NO_FINALIZE() would also benefit.
Not sure what speedup might be (simple experiments were inconclusive), but making this change seems strictly better than leaving the slots nullable.