-
Notifications
You must be signed in to change notification settings - Fork 400
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
Truncated file path returned from self._table.dataset_partitions in 0.6.2 deltalake #880
Comments
Okay i've investigated this and it seems a generic issue not related to Windows - I was running 0.6.1 version on my windows test env. |
this change should fix it:
testing and submitting a PR |
Alright I finally figured this out. Apparently all tests in deltalake now make use of So, using this custom FS implementation will work:
Closing the issue. |
Sorry for being a bit late since you already figured all of this out, but there is a little bit of docs around this. https://delta-io.github.io/delta-rs/python/usage.html#custom-storage-backends |
Environment WSL2 (Ubuntu 20.04)
Delta-rs version: 0.6.2
Binding: Python (3.9)
Environment:
Bug
What happened:
Observing different output for 0.6.1 and 0.6.2 for the same call (sorry I had different venvs on different OS's when checking up this problem):
On Ubuntu with 0.6.2 gives:
On Windows with 0.6.1:
This results in a problem when supplying filesystem to this method:
This call works on Windows, but doesn't work on Ubuntu, because on Ubuntu only filename part of the path is resolved as shown above.
Interesting part is, if I omit the
filesystem
parameter, then everything works on both OS.What you expected to happen:
Same behaviour on Windows and Linux for the described case.
How to reproduce it:
Run
On any Linux distro and observe error similar to:
More details:
Issue only occurs in 0.6.2 version.
The text was updated successfully, but these errors were encountered: