-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: File handling for PyArrow parquet #37828
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
Conversation
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.
lgtm. the ci / docs build is failng, can you merge master and and ping on greenish
I'm looking into this, I fear that the docs are testing a case that isn't captured in the tests itself. |
@@ -691,6 +691,7 @@ def test_partition_cols_supported(self, pa, df_full): | |||
dataset = pq.ParquetDataset(path, validate_schema=False) | |||
assert len(dataset.partitions.partition_names) == 2 | |||
assert dataset.partitions.partition_names == set(partition_cols) | |||
assert read_parquet(path).shape == df.shape |
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.
Making sure that read_parquet
is more tested when reading from a directory.
The read DataFrame has shuffled rows. Is that expected?
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.
@twoertwein can you merge master and apply suggestions, ping on greenish |
@jreback green'ish. I think I incorporated @jorisvandenbossche comments (renamed variable and function; do not type-abuse IOHandles) |
thanks @twoertwein |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
De-duplicate file handling of PyArrows' parquet.