Skip to content

Add schema keyword argument to to_parquet - #4851

Closed
mmccarty wants to merge 6 commits into
dask:masterfrom
mmccarty:fixes-inconsistent-schema-part-pyarrow
Closed

mmccarty wants to merge 6 commits into
dask:masterfrom
mmccarty:fixes-inconsistent-schema-part-pyarrow

Conversation

@mmccarty

@mmccarty mmccarty commented May 29, 2019 •

Copy link
Copy Markdown
Member

Enables a work around for #4194

  • Tests added / passed
  • Passes flake8 dask

@jakirkham

Copy link
Copy Markdown
Member

Are you in need of a review and/or guidance here, Mike?

@mmccarty

Copy link
Copy Markdown
Member Author

No, but thanks. Just need to find more time to work on this.

pip install --upgrade --no-deps git+https://github.com/dask/s3fs

if [[ $PYTHONOPTIMIZE != '2' ]] && [[ $NUMPY > '1.11.0' ]] && [[ $NUMPY < '1.14.0' ]]; then
if [[ $PYTHONOPTIMIZE != '2' ]] && [[ $NUMPY > '1.11.0' ]] && [[ $NUMPY < '1.16.5' ]]; then

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @martindurant it looks like we aren't installing fastparquet or pyarrow in CI, except for old numpy versions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely seen lots of parquet things show up in the past, so that would be quite a surprise. That line from #3088 ; pyarrow is included in the dev installs, later in the file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martindurant I noticed the test case I added wasn't running in CI, along with the other parquet tests, until I made this change.

@mmccarty mmccarty changed the title [WIP] Fix for Inconsistent Schema with partitioned pyarrow files Add schema keyword argument to to_parquet Jun 18, 2019
@martindurant

Copy link
Copy Markdown
Member

I see this is failing the parquet-on-http test. Would be OK to xfail that.

@mmccarty

Copy link
Copy Markdown
Member Author

Ok thanks. I'll investigate some of the others. Start by trying to reproduce the failures locally.

@martindurant

Copy link
Copy Markdown
Member

please ping me if you have things working or you need help

@mmccarty

mmccarty commented Jun 20, 2019 via email

Copy link
Copy Markdown
Member Author

@martindurant

Copy link
Copy Markdown
Member

May wait until after #4995

@birdsarah birdsarah mentioned this pull request Jul 24, 2019
2 tasks done
@mmccarty mmccarty closed this Jul 26, 2019
@mmccarty

Copy link
Copy Markdown
Member Author

Superseded by #5150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants