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

   # Which issue does this PR close?
   None
   
   # Rationale for this change
   In a project I'm working on, we need to save the json data and the schema 
into a different file. Today we need to clone the original json, where it'd be 
much easier to just use a read-only reference.
   
   It comes with a drawback that we need to implement AsRef, like using a Box, 
or implement in your own type.
   It's not clear to me why wouldn't Rust automatically `impl AsRef<T> for &T`.
   
   # Are there any user-facing changes?
   Yes, this breaks compatibility with previous uses of 
`infer_json_schema_from_iterator`.


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