Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export schema from data objects #134

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

kylebarron
Copy link
Owner

@kylebarron kylebarron commented Aug 14, 2024

Closes #53.

In apache/arrow#39689 the consensus seems to be that objects exporting __arrow_c_stream__ should also export __arrow_c_schema__ so that data consumers can

  1. see the Arrow schema of the producer's data
  2. decide whether to ask for data with a different Arrow schema
  3. call __arrow_c_stream__ with that other Arrow schema if desired

@kylebarron kylebarron enabled auto-merge (squash) August 14, 2024 18:22
@kylebarron kylebarron merged commit 9294cca into main Aug 14, 2024
3 checks passed
@kylebarron kylebarron deleted the kyle/export-schema-from-data-objects branch August 14, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pyo3-arrow: implement schema negotiation for PyCapsule data export
1 participant