-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Optimizer rule 'projection_push_down' failed due to unexpected error: Error during planning: Aggregate schema has wrong number of fields. Expected 3 got 8 #3704
Comments
For what it is worth, I am working through some errors upgrading IOx to use the latest datafusion (see https://github.com/influxdata/influxdb_iox/pull/5792) and I am also hitting errors related to type coercion as well. I will file and fix issues in DataFusion if appropriate when I have debugged it |
I have now added a repro case in this issue |
I will work on this later today if no one else beats me to it -- I would like a reason to get more hands on exposure to the new casting code |
I have been looking into this, and I have found one issue so far. We have some code in
This code does not work as intended because it compares the original name to |
Related: #3706 |
Starting to look into this |
I believe I have found the root cause. Fix incoming |
Here is a proposed fix: #3710 It seems to have some sort of other planning regression (something is no longer simplified). I am about to run out of time tonight but I will continue investigation tomorrow |
Describe the bug
There was a recent regression causing several test failures in a test suite that we use with Dask SQL.
To Reproduce
Fails with
Expected behavior
Should not see this error
Additional context
None
The text was updated successfully, but these errors were encountered: