atwam opened a new pull request, #5355:
URL: https://github.com/apache/arrow-rs/pull/5355

   PyArrow's RecordBatch gets imported by using a StructArray, then 
transforming it into a RecordBatch. This was losing the Schema's metadata in 
the process (because a StructArray does not hold metadata).
   
   This commit changes the test to show the issue, and fixes it.
   
   # Which issue does this PR close?
   
   Closes #5354.
   
   # What changes are included in this PR?
   
   Changes pyarrow tests to ensure that schema equality also checks for 
metadata equality.
   Fixes `impl FromPyArrow for RecordBatch` to ensure that the resulting 
RecordBatch has the right schema
   
   # Are there any user-facing changes?
   
   No


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