-
Notifications
You must be signed in to change notification settings - Fork 70
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
[BUG] projection_push_down
optimizer rule fails in some queries
#1012
Comments
The It feels like a bug on the datafusion side where if the column names for both sides of the intersect don't match, the rule fails. (Even if the number and type of columns on both sides are identical). It might be worth checking datafusion and raising an equivalent issue there as well. |
Yep, changing the column names to match ( |
@ayushdg I did some testing in Datafusion. It looks like this only fails in Datafusion 15 and is fixed in 16 and 17. |
Thanks for investigating! In that case let's leave this open and mark it fixed by #998 when it lands. |
Closed with #998 |
What happened:
When running or even just explaining basic
INTERSECT
queries like:I get the error:
Anything else we need to know?:
Can be worked around by removing
projection_push_down
from optimizers.rs but this can severely impact performance.Environment:
The text was updated successfully, but these errors were encountered: