MCPcopy Create free account
hub / github.com/apache/datafusion / order_bys

Method order_bys

datafusion/physical-expr/src/aggregate.rs:745–751  ·  view source on GitHub ↗

Returns the ORDER BY expressions for the aggregate function.

(&self)

Source from the content-addressed store, hash-verified

743
744 /// Returns the ORDER BY expressions for the aggregate function.
745 pub fn order_bys(&self) -> &[PhysicalSortExpr] {
746 if self.order_sensitivity().is_insensitive() {
747 &[]
748 } else {
749 &self.order_bys
750 }
751 }
752
753 /// Indicates whether aggregator can produce the correct result with any
754 /// arbitrary input ordering. By default, we assume that aggregate expressions

Calls 2

is_insensitiveMethod · 0.80
order_sensitivityMethod · 0.45

Tested by

no test coverage detected