table::predicate

Function build_time_range_predicate

source
pub fn build_time_range_predicate(
    ts_col_name: &str,
    ts_col_unit: TimeUnit,
    filters: &[Expr],
) -> TimestampRange
Expand description

build_time_range_predicate extracts time range from logical exprs to facilitate fast time range pruning.