diff --git a/rust/src/checkpoints.rs b/rust/src/checkpoints.rs index 98a4e790c1..41385bbf7e 100644 --- a/rust/src/checkpoints.rs +++ b/rust/src/checkpoints.rs @@ -205,7 +205,7 @@ pub async fn cleanup_expired_logs_for( ) -> Result { 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;