fn get_aggregate_expr_req(
aggr_expr: &AggregateFunctionExpr,
group_by: &PhysicalGroupBy,
agg_mode: &AggregateMode,
include_soft_requirement: bool,
) -> Option<LexOrdering>Expand description
Determines the lexical ordering requirement for an aggregate expression.
§Parameters
aggr_expr: A reference to anAggregateFunctionExprrepresenting the aggregate expression.group_by: A reference to aPhysicalGroupByinstance representing the physical GROUP BY expression.agg_mode: A reference to anAggregateModeinstance representing the mode of aggregation.include_soft_requirement: Whenfalse, only hard requirements are considered, as indicated byAggregateFunctionExpr::order_sensitivityreturningAggregateOrderSensitivity::HardRequirement. Otherwise, also soft requirements (AggregateOrderSensitivity::SoftRequirement) are considered.
§Returns
A LexOrdering instance indicating the lexical ordering requirement for
the aggregate expression.