Skip to content

[C++] Add an option to RecordBatchReader to infer schema for each record batch fetched separately #46228

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

Open
pstrzelczak opened this issue Apr 25, 2025 · 0 comments

Comments

@pstrzelczak
Copy link

Describe the enhancement requested

Right now RecordBatchReader infers schema based on the first batch. As a consequence, if any cell in the remaining stream does not comply to the schema fetching the data fails. It would be great to have an option to infer schema for each individual chunk instead of failing.

This is split from #17278.

Component(s)

Python, C++

@raulcd raulcd changed the title Add an option to RecordBatchReader to infer schema for each record batch fetched separately [C++] Add an option to RecordBatchReader to infer schema for each record batch fetched separately Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant