datafusion_optimizer

Module eliminate_group_by_constant

Source
Expand description

EliminateGroupByConstant removes constant expressions from GROUP BY clause

Structsยง

  • Optimizer rule that removes constant expressions from GROUP BY clause and places additional projection on top of aggregation, to preserve original schema