Skip to content

Commit

Permalink
docs: clarify requirements for groupings and measures in AggregateRel (
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarua committed Jul 24, 2023
1 parent 90ce1ba commit 73d5070
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,12 @@ message AggregateRel {
// Input of the aggregation
Rel input = 2;

// A list of expression grouping that the aggregation measured should be calculated for.
// A list of one or more grouping expression sets that the aggregation measures should be calculated for.
// Required if there are no measures.
repeated Grouping groupings = 3;

// A list of one or more aggregate expressions along with an optional filter.
// Required if there are no groupings.
repeated Measure measures = 4;

substrait.extensions.AdvancedExtension advanced_extension = 10;
Expand Down

0 comments on commit 73d5070

Please sign in to comment.