erratic-pattern commented on issue #20937: URL: https://github.com/apache/datafusion/issues/20937#issuecomment-4067466143
That lines up with what I've investigated. The regression was introduced by: - #20505 Before that fix, `flatten_dictionary_array()` in `inlist_builder.rs` converted Dictionary arrays to plain Utf8 before building the InList, so `in_array` was always Utf8 and the `make_comparator(Utf8, Utf8)` call in `ArrayStaticFilter::contains()` worked. After the fix removed flattening, Dictionary arrays are preserved in the InList. When `contains()` unwraps the probe-side Dictionary to Utf8 via `downcast_dictionary_array!`, the stored `in_array` is still Dictionary, causing the type mismatch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
