run_query

Function run_query 

Source
pub fn run_query(
    data: &BTreeMap<String, RecordBatch>,
    query: &Query,
) -> Result<BTreeMap<String, RecordBatch>>
Expand description

Executes a query against a set of named tables, returning filtered and projected results.

Applies all selection filters in parallel (via rayon), OR-combines filters for the same table, then projects the requested fields. Tables not referenced by any selection are excluded from the output.