-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🪲 selection pushdown error #1587
Comments
if we change the filter to be |
we current drop all of the predicates before we CROSS JOIN - this means we don't fail to push the predicate and put it back where we picked it up from. We should only drop the predicate if we know all of the columns. |
after fix, this is the optimized plan
We now correctly push the Mission filter to the $missions SCAN |
a regression test now fails SELECT name, mission
FROM $astronauts CROSS JOIN UNNEST(missions) AS mission
WHERE mission = 'Apollo 11'
|
I've fixed the UNNEST display in the plan to show the column name not the virtual relation - haven't fixed the bug though |
fixed, need to dump predicates that reference the unnest target too, pushing them past the unnest is impossible |
returns this error: TypeError: object of type 'NoneType' has no len()
We're FILTERing Mission before the SCAN to read it.
The SCAN and the UNNEST are in the wrong order too ... this may be a problem with the tree drawing and a different error with the filter
The text was updated successfully, but these errors were encountered: