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

[WIP] Support pandas mode.string_storage option in read_parquet #9711

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jrbourbeau
Copy link
Member

@jrbourbeau jrbourbeau commented Dec 2, 2022

Pushing up a quick diff to help aid the conversation happening here #9631 (comment). The test_pandas_string_storage_option test added here demonstrates the behavior we ultimately want, but the actual changes to read_parquet are still preliminary (I suspect we'll need more changes).

Copy link
Member Author

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Okay, there are two related test failures in CI

  • dask/dataframe/io/tests/test_parquet.py::test_use_nullable_dtypes_with_types_mapper
  • dask/dataframe/io/tests/test_parquet.py::test_use_nullable_dtypes

Interestingly I'm when I run those tests individually locally, they pass. But when I run the entire dask/dataframe/io/tests/test_parquet.py test module I can reproduce the failures. So seems like there is some sort of interference across tests. Will need to look into this more...

EDIT: nvm -- this was me being silly. Pushing a commit to use a context manager when setting string_storage in test_pandas_string_storage_option

@jrbourbeau jrbourbeau self-assigned this Dec 7, 2022
@github-actions github-actions bot added the needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer. label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataframe io needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant