dhruvxvaishnav opened a new pull request, #10559: URL: https://github.com/apache/arrow-rs/pull/10559
# Which issue does this PR close? - Closes #7859. # Rationale for this change `rank` supports `Utf8` and `LargeUtf8` arrays, but not `Utf8View`. Adding support makes ranking available for the string view representation as well. # What changes are included in this PR? - Add `Utf8View` to the rankable data types. - Dispatch `Utf8View` arrays through a `GenericByteViewArray` ranking path. - Add coverage for inline values, out-of-line values, duplicates, and null handling. # Are these changes tested? Yes. The following checks pass: - `cargo fmt --all -- --check` - `cargo test -p arrow-ord` - `cargo clippy -p arrow-ord --all-targets --all-features -- -D warnings` - `git diff --check` # Are there any user-facing changes? `Utf8View` arrays can now be passed to `rank`. There are no breaking API changes. # AI assistance OpenAI Codex assisted with codebase inspection, implementation, test creation, and validation. The submitter remains responsible for reviewing, understanding, and maintaining the contribution. -- 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]
