-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Implement Dataset from Parquet #2247
Implement Dataset from Parquet #2247
Conversation
Returns: | ||
:class:`Dataset` | ||
""" | ||
from .arrow_reader import ParquetReader |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for diving into this !
The ParquetReader unfortunately always bring data in memory. The memory-map option is here only for reading performance. Under the hood the data from parquet are compressed so you can't just memory map the file since there's no on-the-fly decoding afaik.
I think the best option would be to implement a ArrowBasedBuilder as we did for csv/json/etc.
Hi @albertvillanova , I'll implement the parquet builder as an ArrowBasedBuilder if you don't mind |
closing in favor of #2537 that is already merged |
Implement instantiation of Dataset from Parquet file.