Skip to main content

execute_with

Function execute_with 

Source
pub fn execute_with(
    sel: &Select,
    resolve: &Resolver<'_>,
    exec: JoinExec,
    pushdown: bool,
) -> Result<(Vec<OutCol>, Vec<Value>, Plan)>
Expand description

As execute_explain, with predicate pushdown switchable.

The switch exists so differential tests can run the SAME query with and without the rewrite and compare. Without it, a test believing it exercised pushdown could be measuring the unoptimised path, and the equivalence suite would prove nothing — the same reason JoinExec can force a strategy.