Skip to content

fix(webhdfs): convert timestamps from milliseconds using DAVTime#89

Merged
rexzhang merged 1 commit intorexzhang:mainfrom
SilviaSWR:feature/use-miliseconds-webhdfs-provider
Feb 17, 2026
Merged

fix(webhdfs): convert timestamps from milliseconds using DAVTime#89
rexzhang merged 1 commit intorexzhang:mainfrom
SilviaSWR:feature/use-miliseconds-webhdfs-provider

Conversation

@SilviaSWR
Copy link
Copy Markdown
Contributor

Checklist

  • I have read the contribution guidelines
  • One Feature(issus) One PR
  • All commits in the PR will be merged into a single commit.
  • Add an entry in changelog.en.md if necessary? Don't forget to add your name and github profile link!
  • Add / update tests if necessary, Don't missing.
  • Add new / update outdated documentation

Description

This PR fixes the WebHDFS provider to correctly handle timestamps in milliseconds. Previously, DAVTime expected seconds, causing incorrect timestamps when using the WebHDFS provider. This change ensures DAVTime converts milliseconds to seconds, maintaining correct time values in responses.

Linked Issue

fixes #87

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.79%. Comparing base (6e48e98) to head (e3117f4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #89   +/-   ##
=======================================
  Coverage   75.79%   75.79%           
=======================================
  Files          26       26           
  Lines        3772     3772           
=======================================
  Hits         2859     2859           
  Misses        913      913           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SilviaSWR
Copy link
Copy Markdown
Contributor Author

This contribution has received funding from the Spanish government (grant EQC2021-007479-P, funded by MCIN/AEI/10.13039/501100011033), the EU NextGeneration/PRTR (PRTR-C17.I1), and the Generalitat de Catalunya.

@rexzhang rexzhang merged commit 347332f into rexzhang:main Feb 17, 2026
9 checks passed
@rexzhang
Copy link
Copy Markdown
Owner

happy chinese new year🎉

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.

DAVTime fails with WebHDFS timestamps in milliseconds

2 participants