Skip to content

Conversation

@dsevilla
Copy link
Contributor

… for webhdfs.

I noticed webhdfs do not have implementations for created and modified, and fail in some usages, as when used by duckdb to read parquet files (for example) from HDFS.

As WebHDFS schema seems not to offer creation time, I used modificationTime parameter on the info answer from HDFS.

@martindurant
Copy link
Member

This looks fine - can you please add a test to test_webhdfs.py which calls them?

@dsevilla
Copy link
Contributor Author

Uh, of course. Lookit at it fast I thought there was no tests specifically for webhdfs. I'll add them in a few.

@dsevilla
Copy link
Contributor Author

Done, please, take a look.

@martindurant martindurant merged commit 8ce70ee into fsspec:master Jan 16, 2026
17 of 20 checks passed
@tirkarthi
Copy link

Thanks for the PR. We also faced the same issue on using duckdb with WebHDFS and had to patch the modified function.

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.

3 participants