Rich-T-kid opened a new pull request, #12253: URL: https://github.com/apache/arrow-rs/pull/12253
# Which issue does this PR close? - Closes #12243. # Rationale for this change String predicate kernels call `normalized_keys` for dictionary operands. That method intentionally panics when the values array is empty, but a valid dictionary can have no values when every key is null. These inputs should produce null results instead of panicking. # What changes are included in this PR? Handle empty dictionary values in the shared UTF-8 and binary predicate paths and return a correctly sized null result. This also removes the empty run-end encoded workaround because the underlying dictionary path now handles it. # Are these changes tested? Tests cover UTF-8 and binary dictionaries in both operand positions, scalar dictionaries, zero-row dictionaries, and empty run-end encoded inputs. # Are there any significant user-facing changes? No. -- 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]
