Skip to content

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

Open
jrbourbeau wants to merge 4 commits into
dask:mainfrom
jrbourbeau:pandas-string-storage
Open

jrbourbeau wants to merge 4 commits into
dask:mainfrom
jrbourbeau:pandas-string-storage

Conversation

@jrbourbeau

@jrbourbeau jrbourbeau commented Dec 2, 2022 •

Copy link
Copy Markdown
Member

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).

@jrbourbeau jrbourbeau left a comment •

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.

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

This branch has not been deployed

No deployments
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.

1 participant