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

Support empty projection in CSV, JSON readers #2603

Closed
Dandandan opened this issue Aug 29, 2022 · 0 comments · Fixed by #2604
Closed

Support empty projection in CSV, JSON readers #2603

Dandandan opened this issue Aug 29, 2022 · 0 comments · Fixed by #2604
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@Dandandan
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As a user of the readers, I want to be able to use the CSV and JSON readers with empty projection.

Describe the solution you'd like

Support empty projections in the readers. The readers should generate a RecordBatch that returns a batch with the correct number of rows.

Describe alternatives you've considered

Additional context
In DataFusion I want to avoid scanning a column apache/datafusion#3214 . Implementing the support in the arrow readers seems the best and easiest way forward.

@Dandandan Dandandan added the enhancement Any new improvement worthy of a entry in the changelog label Aug 29, 2022
@alamb alamb added the arrow Changes to the arrow crate label Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants