austin362667 opened a new pull request, #6671: URL: https://github.com/apache/arrow-rs/pull/6671
# Which issue does this PR close? Closes https://github.com/apache/datafusion/issues/13195 # Rationale for this change Thanks to @jayzhan211 , he noticed following issue, array compute kernel `bit_length()` doesn't support `Utf8View` type: ```rust create table test_source as values ('Andrew', 'X'), ('Xiangpeng', 'Xiangpeng'), ('Raphael', 'R'), (NULL, 'R'); create table test as SELECT arrow_cast(column1, 'Utf8View') as column1_utf8view FROM test_source; select bit_length(column1_utf8view) from test; ``` caused the error: ```rust query error DataFusion error: Arrow error: Compute error: bit_length not supported for Utf8View ``` # What changes are included in this PR? Update `bit_length()` array function to support `Utf8View` # Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!--- If there are any breaking changes to public APIs, please add the `breaking change` label. --> -- 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]
