Skip to main content

plan_collection_predicate

Function plan_collection_predicate 

Source
pub fn plan_collection_predicate(
    catalog: &dyn SqlCatalog,
    collection: &str,
    predicate: SqlExpr,
) -> Result<Vec<Filter>>
Expand description

Plan predicate as the WHERE of SELECT * FROM <collection>.

A collection the catalog does not hold is UnknownTable. A column the collection does not have is UnknownColumn. A literal compared against a declared TIMESTAMP / TIMESTAMPTZ column becomes a typed instant.