hiltontj opened a new issue, #5620:
URL: https://github.com/apache/arrow-rs/issues/5620

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   I would like to have `FixedSizeBinary` columns be serialized by the JSON 
writer as HEX, as they are for the CSV writer.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   Columns that are `FixedSizeBinary` be serialized as HEX strings. The CSV 
writer defaults to the default arrow-array formatter, which does this: 
https://github.com/apache/arrow-rs/blob/master/arrow-cast/src/display.rs#L746-L754
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   Alternatively, I could change my queries to potentially cast the column I am 
querying for, so this isn't a deal breaker for me, but I feel as though since 
the CSV and default formatters do this for me, the JSON should as well.
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   The error returned originates from here: 
https://github.com/apache/arrow-rs/blob/master/arrow-json/src/writer/encoder.rs#L128


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

Reply via email to