Skip to main content

positive_interval_sample_scope

Function positive_interval_sample_scope 

Source
pub fn positive_interval_sample_scope(
    start_expr: &str,
    end_expr: &str,
    window: Option<(i64, i64)>,
) -> IntervalSampleScope
Expand description

Positive interval sample scope.

Always rejects invalid intervals with start_expr >= 0 AND end_expr > start_expr. When a window is present, projected start/end expressions are clipped before downstream bucket math. Bind order is start, end for clipped expressions, then start, end for the overlap predicate.