Function datafusion_physical_expr::aggregate::is_order_sensitive
source · pub fn is_order_sensitive(aggr_expr: &Arc<dyn AggregateExpr>) -> boolExpand description
Checks whether the given aggregate expression is order-sensitive.
For instance, a SUM aggregation doesn’t depend on the order of its inputs.
However, a FirstValue depends on the input ordering (if the order changes,
the first value in the list would change).