-
Notifications
You must be signed in to change notification settings - Fork 406
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
No snapshot or version 0 found, perhaps /Users/watsy0007/resources/test_table/ is an empty dir? #2016
Comments
@watsy0007 is there a checkpoint file in the |
@rtyler no, this is also the point that confuses me when i read the documentation. |
@watsy0007 did you ever execute cleanup_metadata on the table? Vacuum and Compact should not delete any metadata files. |
@Blajda sorry, i forgot. |
delta-io#2044) # Description When metadata cleanup is executed on a delta table without checkpoints it will corrupt the table and prevent further loading. This is a high risk for people who use delta-rs since our writers do not automatically create checkpoints. # Related Issue(s) - closes delta-io#2016
Environment
Delta-rs version:
0.17.0
Binding:
python-v0.15.0
Environment: MacOS
Bug
What happened:
After I executed the
vacuum
function, from 0 to 99 json files were deleted from_delta_log
directory .Later when i re-ran
dt = DeltaTable(local_path)
, I get the error in the issue titleWhat you expected to happen:
import local table successfully
How to reproduce it:
as What happend
More details:
jupyter notebook code
and the last operation json as follow
The text was updated successfully, but these errors were encountered: