taepper opened a new issue, #50247: URL: https://github.com/apache/arrow/issues/50247
### Describe the enhancement requested #46926 introduced helper functions which partition a set of indices into three spans for `null`, `nan` and `non_null_like`. @pitrou mentioned the follow-up of consolidating these methods with other partitioning methods in `vector_sort_internal.h` as it can be confusing to have the same abstraction in the codebase twice. The current `NullPartitionResult` structure only distinguished between `null` and `non_null`. This limitation is circumvented by storing two partition results, with the additional one distinguishing `nan` and `non_null_like` ### Component(s) C++ -- 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]
