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

Method free_range

datafusion/expr/src/window_frame.rs:285–290  ·  view source on GitHub ↗

Returns whether the window frame is "free range"; i.e. its start/end bounds are UNBOUNDED or CURRENT ROW.

(&self)

Source from the content-addressed store, hash-verified

283 /// Returns whether the window frame is "free range"; i.e. its start/end
284 /// bounds are UNBOUNDED or CURRENT ROW.
285 fn free_range(&self) -> bool {
286 (self.start_bound.is_unbounded()
287 || self.start_bound == WindowFrameBound::CurrentRow)
288 && (self.end_bound.is_unbounded()
289 || self.end_bound == WindowFrameBound::CurrentRow)
290 }
291
292 /// Is the window frame ever-expanding (it always grows in the superset sense).
293 /// Useful when understanding if set-monotonicity properties of functions can

Callers 2

regularize_order_bysMethod · 0.80

Calls 1

is_unboundedMethod · 0.45

Tested by

no test coverage detected