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

   **Describe the bug**
   
   The values in schema and field metadata should be valid UTF-8 according to 
the flatbuffers files but, due to a long-standing oversight, the C++ / Python 
implementations use binary and not string values. So it would be nicer to them 
if we returned an error instead of panicking when we encounter invalid utf8 
imported over ffi.
   
   **To Reproduce**
   
   Unwrap occurs here:
   
   
https://github.com/apache/arrow-rs/blob/32e973d7fd90a6f94799177a6d3735c6e3201689/arrow/src/ffi_stream.rs#L284-L284
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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