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

Method can_accept_multi_orderby

datafusion/expr/src/window_frame.rs:275–281  ·  view source on GitHub ↗

Returns whether the window frame can accept multiple ORDER BY expressions.

(&self)

Source from the content-addressed store, hash-verified

273
274 /// Returns whether the window frame can accept multiple ORDER BY expressions.
275 pub fn can_accept_multi_orderby(&self) -> bool {
276 match self.units {
277 WindowFrameUnits::Rows => true,
278 WindowFrameUnits::Range => self.free_range(),
279 WindowFrameUnits::Groups => true,
280 }
281 }
282
283 /// Returns whether the window frame is "free range"; i.e. its start/end
284 /// bounds are UNBOUNDED or CURRENT ROW.

Callers 1

run_window_testFunction · 0.80

Calls 1

free_rangeMethod · 0.80

Tested by 1

run_window_testFunction · 0.64