You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "scovich (via GitHub)" <gi...@apache.org> on 2025/02/13 18:48:11 UTC

Re: [PR] Add optional handling for binary arrays in json [arrow-rs]

scovich commented on PR #4967:
URL: https://github.com/apache/arrow-rs/pull/4967#issuecomment-2657453316

   IMO that older PR does _NOT_ solve the problem mentioned here. That PR gives a way to cast from binary to string (that happens to contain base64-encded binary data). But arrow JSON still doesn't have any actual support for encoding and decoding the arrow binary type. 
   
   That said, there's definitely an argument to be made that round trip encoding needs domain knowledge (ie does the sender and/or receiver expect hex? base64? ascii85? which variant? etc. So maybe manual casts are the best arrow itself can expose, to avoid getting sucked into that rabbit hole?


-- 
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