Closed djouallah closed 8 months ago
@djouallah does the table contain checkpoints? Otherwise it doesn't remove any logs since that could corrupt the table
@ion-elgreco it does indeed is this Delta Rust specific ?
@djouallah if you're using 0.15.1 it does the correct behavior of only removing up to a checkpoint based on the logRetetentionDuration. Before 0.15.1 it would actually remove based on the logRetentionDuration only which could invalidate a table state.
@ion-elgreco I am using 0.15.1 and it is not removing anything, is the format I used correct ?
Ah format should be interval <amount> <unit>
, so try interval 1 day
.
At the same time can you try interval 1 days
, I think at the moment we don't parse the plural version so this might not work..
sorry for being pedantic, but "1 days" is what spark uses, for compatibility reasons, isn't delta rust follow the same approach, is the format in delta protocol ?
@djouallah these things are not part of the protocol. I am aware that the plural version is what spark only supports, we can add that in soon, it's trivial to add
@ion-elgreco i appreciate you are doing free work, I am happy with whatever you pick, I was just curious :)
Description
I am trying to create a delta table like this with a log limited to 1 day
when i run dt.cleanup_metadata() it seems it still using 30 days ?