-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support casting from Utf8
/LargeUtf8
to Binary
/LargeBinary
#2402
Comments
I guess this should be straight forward by changing the data type: let binary_array_data = utf8_array_data.into_builder()
.datatype(DataType::Binary)
.build_unchecked() This could be a good first issue for developers who want to get familiar with the arrow data type. |
I want to pick this up, but I was just a little confused . If i am not mistaken we already have a function to convert into binary array https://docs.rs/arrow/20.0.0/arrow/array/fn.as_generic_binary_array.html . So based on my understanding, If we need to implement, then we need to implement trait from< GenericStringArray > for GenericBinaryArray. |
I guess this is what @Dandandan want. |
Thanks for the interest in this issue. I think the description wasn't fully clear. Currently the |
Utf8
/LargeUtf8
to Binary
/LargeBinary
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Casting from utf8 to binary is missing.
Describe the solution you'd like
Implement cast for utf8(large) to binary(large).
Describe alternatives you've considered
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: