Improve Join expression constant folding #7570
Labels
A-optimization
Area: query optimization and transformation
C-bug
Category: something is broken
D-good second issue
Difficulty: Good for a newcomer who's warmed up
Projects
Milestone
Our join expression constant folding bails out if it sees a candidate number of rows that exceeds a threshold. However, it does this testing as it goes, before it applies equality constraints. Applying the equality constraints as one goes could dramatically reduce the number of candidates, and generally make the process faster as well as less likely to fail out.
The text was updated successfully, but these errors were encountered: