You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "monkwire (via GitHub)" <gi...@apache.org> on 2024/03/05 23:57:31 UTC

[PR] Add RecordBatch::schema_ref [arrow-rs]

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

   # Which issue does this PR close?
   This PR addresses the first part of #5342.
   
   # Rationale for this change
   This change allows users to directly borrow a schema from a `RecordBatch`. While it is more idiomatic to achieve this using the existing `RecordBatch::schema` method (#5448 ) , this approach is less disruptive.
   
   # What changes are included in this PR?
   The `RecordBatch::schema_ref` method is added.  Additionally, `.schema()` is changed to `.schema_ref()` when the schema returned is treated as a borrowed value.
   
   # Are there any user-facing changes?
   Yes, this adds a new a new method to `RecordBatch`.
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add RecordBatch::schema_ref [arrow-rs]

Posted by "monkwire (via GitHub)" <gi...@apache.org>.
monkwire closed pull request #5474: Add RecordBatch::schema_ref
URL: https://github.com/apache/arrow-rs/pull/5474


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add RecordBatch::schema_ref [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on PR #5474:
URL: https://github.com/apache/arrow-rs/pull/5474#issuecomment-1980002840

   Thank you


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add RecordBatch::schema_ref [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold merged PR #5474:
URL: https://github.com/apache/arrow-rs/pull/5474


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org