SERVER-137998ClosedFixed
Join optimization pushes classic-only $match expressions into SBE and hits tassert
A $match that SBE cannot lower ($function, $getField, $convert, $type, $jsonSchema, ...) placed before the first $lookup or inside a $lookup sub-pipeline is pushed into a join node's CanonicalQuery and lowered anyway. Eligibility only rejects $text; createCQForJoinPipeline() marks the CQ SBE-compatible without inspecting the filter. Without join optimization these pipelines run in classic and succeed.