Skip to content

Commit

Permalink
fix: update cleanup regex to include checkpoint.parquet files
Browse files Browse the repository at this point in the history
- closes delta-io#1420
  • Loading branch information
cmackenzie1 committed Jun 1, 2023
1 parent b17f286 commit 4d862a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/checkpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ pub async fn cleanup_expired_logs_for(
) -> Result<i32, DeltaTableError> {
lazy_static! {
static ref DELTA_LOG_REGEX: Regex =
Regex::new(r#"_delta_log/(\d{20})\.(json|checkpoint)*$"#).unwrap();
Regex::new(r#"_delta_log/(\d{20})\.(json|checkpoint).*$"#).unwrap();
}

let mut deleted_log_num = 0;
Expand Down

0 comments on commit 4d862a0

Please sign in to comment.