common_query::logical_plan

Function build_filter_from_timestamp

source
pub fn build_filter_from_timestamp(
    ts_col_name: &str,
    time_range: Option<&TimestampRange>,
) -> Option<Expr>
Expand description

Builds an Expr that filters timestamp column from given timestamp range. Returns None if time range is None or full time range.