pub fn decorrelate_exists(
context: CorrelationContext<'_>,
plan: &QueryPlan,
) -> Result<Option<DecorrelatedExistsPlan>, SQLError>Expand description
Turn a simple correlated equality EXISTS into an uncorrelated key query.
The caller materializes the returned inner key rows once and probes them
with outer_keys, which is the physical equivalent of a hash semi-join.