We should update the behavior in substrait-java with the spec update 706 changing the definition of grouping sets in AggregateRel to consist of references into a list of grouping expressions instead of consisting of expressions directly.
This change keeps consumers from having to deduplicate the expressions in the grouping sets in order to execute the query or even derive the output schema. Explained in further detail in #700.
We should update the behavior in substrait-java with the spec update 706 changing the definition of grouping sets in
AggregateRel
to consist of references into a list of grouping expressions instead of consisting of expressions directly.This change keeps consumers from having to deduplicate the expressions in the grouping sets in order to execute the query or even derive the output schema. Explained in further detail in #700.