saadtajwar opened a new pull request, #23911: URL: https://github.com/apache/datafusion/pull/23911
## Which issue does this PR close? - Closes #23667 ## Rationale for this change `array_filter`, `array_any_match`, and `array_first` each implement their own version of the same higher-order list execution pattern: - normalize a list-like argument to List / LargeList, - extract the flattened child values with slice-aware semantics, - evaluate a lambda once over the flattened values, - spread captured outer columns to flattened row cardinality with list_values_row_number, - map the flattened lambda result back to one output value per input row using adjusted offsets and null-row handling. This PR introduces shared helpers that allow for one area where the shared logic lives ## What changes are included in this PR? ## Are these changes tested? Yes ## Are there any 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
