Skip to content

Conversation

@jorisvandenbossche
Copy link
Member

No description provided.

@jorisvandenbossche jorisvandenbossche changed the title ARROW-xxxx: [CI][Python] Run fsspec tests on Windows ARROW-10462: [CI][Python] Run fsspec tests on Windows Nov 2, 2020
@github-actions
Copy link

github-actions bot commented Nov 2, 2020

# In case its a simple LocalFileSystem (e.g. dask) use native arrow
# FS
elif mro.__name__ == 'LocalFileSystem':
return LocalFileSystem._get_instance()
Copy link
Member Author

Choose a reason for hiding this comment

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

The reason this now gives troubles (while this code was already there for more than 2 years), is because with pyarrow >= 2.0, fsspec will no longer inherit from pyarrow.filesystem.FileSystem, and so this path was only taken if the passed filesystem was not a pyarrow subclass (so before, in pyarrow.fs, we simply didn't take this code path for fsspec filesystems)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it is fine to simply remove this code, as in practice this was also never run anymore with previous pyarrow releases. I suppose this was only ever reached with old fsspec versions that did not yet subclass pyarrow.

@jorisvandenbossche jorisvandenbossche changed the title ARROW-10462: [CI][Python] Run fsspec tests on Windows ARROW-10462: [Python] Fix usage of fsspec in ParquetDataset causing path issue on Windows Nov 2, 2020
@apache apache deleted a comment from github-actions bot Nov 2, 2020
@jorisvandenbossche jorisvandenbossche deleted the ci-windows-fsspec branch November 9, 2020 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant