-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Filter crashes when the input schema contains a map #8262
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
If this is still relevant, I would like to take a look at this? |
THanks @razeghi71 -- the first step is probably to see if the reproducer on this ticket still panics |
This problem has been introduced in c9330bc which changed the default empty value for lower and upper bound from In the first one I tried to implement the empty value for map as described in the description of Map which returns a |
I think implementing it for However, I think this may be a non trivial change as it will require implementing a l I think enum ScalarValue {
...
/// one element array
Map(ArrayRef)
}
|
Describe the bug
DataFusion v33 panics & returns an error in filter when the input schema contains a map because ScalarValue doesn't support maps.
Just making a simple memory table with a map field and querying it with a simple where clause produces this error when creating a physical plan:
Creating an explain plan panics in the Display implementation
To Reproduce
Here's a simple repro
I have a more complicated query within a more complex system that panics
in the
equivalence_properties
function. I don't have a small repro. I'll work on making a small repro for it and then I'll update the issue.Expected behavior
This seems to be a regression as this worked in earlier releases (specifically v32).
Additional context
No response
The text was updated successfully, but these errors were encountered: