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

Avoid reading the entire file in ChunkedStore #4524

Closed
metesynnada opened this issue Dec 6, 2022 · 0 comments · Fixed by #4525
Closed

Avoid reading the entire file in ChunkedStore #4524

metesynnada opened this issue Dec 6, 2022 · 0 comments · Fixed by #4525
Labels
enhancement New feature or request

Comments

@metesynnada
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The current ChunkedStoreimplementation materializes the whole data in the memory before creating the Result<Byte>stream.

https://github.com/apache/arrow-datafusion/blob/740a4fa2c6ba4b85875a433bb86e5b00435a5969/datafusion/core/src/physical_plan/file_format/chunked_store.rs#L72-L91

Describe the solution you'd like
Change the get method.

Describe alternatives you've considered
NA

Additional context
NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant