neilconway opened a new issue, #20769: URL: https://github.com/apache/datafusion/issues/20769
### Is your feature request related to a problem or challenge? Analogous to the way in which `array_position` was optimized (#20530), we can modify `array_positions()` to do a single large `arrow_ord::cmp::not_distinct` over the entire flat values buffer and then reconstruct the results in a single pass for the entire batch, rather than computing results on a row-by-row basis. ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
