Monkwire3 commented on issue #5342:
URL: https://github.com/apache/arrow-rs/issues/5342#issuecomment-1971839638

   I recently started working on changing `RecordBatch::Schema` so that it 
returns an `&Schema` instead of a `SchemaRef`. This is a breaking change, and 
in order to get this code to compile, I had to make changes to files where 
`RecordBatch::Schema` is called. These changes were pretty straightforward, and 
in many cases I just had to remove `.as_ref()` from places where the 
`SchemaRef` was being treated as a `&Schema`. In other cases, I wrapped the new 
`&Schema` return values in `Arc`s.
   
   I will put up a PR for this soon. If these changes are too significant, I 
would be happy to make another PR that creates a `schema_ref` method and 
doesn't alter the functionality of `Schema`.


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