You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/03/09 12:43:11 UTC

[GitHub] [arrow-rs] tustvold commented on issue #3826: Support Casting Between Binary / LargeBinary and FixedSizeBinary

tustvold commented on issue #3826:
URL: https://github.com/apache/arrow-rs/issues/3826#issuecomment-1461991619

   > what do you think about casting between UTF8 and FixedSizeBinary
   
   Given the cast from UTF8 -> Binary is purely a metadata operation, I see no reason we couldn't support this using the same logic.
   
   That being said, I should highlight that the cast peformed by arrow-cast, casts the underlying bytes themselves, which may not be what people are after in the case of https://github.com/apache/arrow-datafusion/issues/5530
   
   In particular `'002920a3044b3c9f56e797b8'` would be converted to `[48, 48, 50, 57, ...]` not `[0x00, 0x00, ...]`


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org