Macros§
- return_
none_ 🔒if_ utf8 - Assert the scalar value is not utf8. Returns
Noneif it’s utf8. In theory, it should be converted to a timestamp scalar value byTypeConversionRule.
Structs§
- Predicate
- Reference-counted pointer to a list of logical exprs and a list of dynamic filter physical exprs.
Enums§
- Time
Range Extraction - The outcome of strictly extracting the time range of
ts_col_namefrom a scan’s filters. Unlikebuild_time_range_predicate, which quietly widens tomin_to_maxon anything it cannot parse (fine for pruning), this distinguishes “the column is not filtered at all” from “it is filtered in a way that cannot be safely turned into a range” — for callers whose contract forbids silently falling back to a default window.
Functions§
- build_
time_ range_ predicate build_time_range_predicateextracts time range from logical exprs to facilitate fast time range pruning.- contains_
disjunction_ 🔒over_ column - extract_
from_ 🔒between_ expr - extract_
from_ 🔒binary_ expr - extract_
from_ 🔒in_ list_ expr - Extract time range filter from
IN (...)expr. - extract_
time_ range_ from_ expr - Extract time range filter from
WHERE/IN (...)/BETWEENclauses. Return None if no time range can be found in expr. - extract_
time_ range_ strict - Strictly extracts the time range of
ts_col_namefrom the (implicitly AND-ed) scan filters. SeeTimeRangeExtraction. - get_
timestamp_ 🔒filter - is_
string_ timestamp_ literal