Repository navigation
Refactor and Expand Dask-Dataframe ORC API - #7756
Conversation
|
@randerzander @VibhuJawa - This is still early and rough, but please feel free to suggest specific API requirements to help guide the progress. |
|
@dask/io - I am highly motivated to support |
|
I'm not sure why the new test failed while writing the test files with pyorc, but I'm hoping is was just a fluke (otherwise, I'm not really sure how to test the offset file-aggregation behavior). |
|
cc @martindurant @jorisvandenbossche in case either of you have thoughts on this |
|
This currently does not support partitioned datasets, right? |
Right - I have (mostly/roughly) implemented partitioning in a separate branch for a follow-up PR.
Yes. There are RAPIDS uses who would absolutely benefit from having ORC support within the pyarrow.datasets API EDIT: Added a JIRA issue here |
ORC could just be another parquet engine! |
martindurant
left a comment
There was a problem hiding this comment.
All looks very good to me. I left some very minor comments.
|
|
||
| # Convert root directory to file list. | ||
| # TODO: Handle hive-partitioned data | ||
| if len(paths) == 1 and not fs.isfile(paths[0]): |
There was a problem hiding this comment.
Can paths be a string here?
There was a problem hiding this comment.
No - to_parquet will use get_fs_token_paths to ensure this paths input is a list.
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks @rjzamora! It looks like folks are general in favor of the changes here. I'll plan to merge this after CI finishes up
TODO:
engineinterfaceto_orcsupport for pyarrow-4.0write_index optionindexpartition_stripe_count(similar to parquet'ssplit_row_groups)aggregate_filesoption for multi-file partitions (solution/API should match Addaggregate_filesargument to enable multi-file partitions in read_parquet #7557 )Planned for a Follow-up PR:
appendpartition_on