Skip to content

Commit 83bb2fe

Browse files
committed
Apply reformatting from cargo fmt.
1 parent ab9d9d1 commit 83bb2fe

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crates/core/src/kernel/snapshot/log_segment.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ pub(super) async fn list_log_files(
543543
let mut commit_files = Vec::with_capacity(25);
544544
let mut checkpoint_files = Vec::with_capacity(10);
545545

546-
547546
// QUESTION: Does this need to be filtered to exclude subdirs?
548547
for meta in fs_client
549548
.list_with_offset(Some(log_root), &start_from)

crates/core/tests/time_travel.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::time::SystemTime;
66
#[tokio::test]
77
async fn time_travel_by_ds() {
88
// test time travel on a table with an uncommited delta in a .tmp subfolder
9-
9+
1010
// git does not preserve mtime, so we need to manually set it in the test
1111
let log_dir = "../test/tests/data/simple_table/_delta_log";
1212
let log_mtime_pair = vec![
@@ -16,7 +16,10 @@ async fn time_travel_by_ds() {
1616
("00000000000000000003.json", "2020-05-04T22:47:31-07:00"),
1717
("00000000000000000004.json", "2020-05-05T22:47:31-07:00"),
1818
// Final file is uncommitted by Spark and is in a .tmp subdir
19-
(".tmp/00000000000000000005.json", "2020-05-06T22:47:31-07:00"),
19+
(
20+
".tmp/00000000000000000005.json",
21+
"2020-05-06T22:47:31-07:00",
22+
),
2023
];
2124
for (fname, ds) in log_mtime_pair {
2225
let ts: SystemTime = ds_to_ts(ds).into();

0 commit comments

Comments
 (0)