Skip to content

Commit

Permalink
style: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Dec 19, 2024
1 parent 40fe7a9 commit 3f15eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/mito2/src/engine/compaction_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ async fn test_compaction_update_time_window() {

// Puts window 7200.
let rows = Rows {
schema: column_schemas.to_vec(),
schema: column_schemas.clone(),
rows: build_rows_for_key("a", 3600, 4000, 0),
};
put_rows(&engine, region_id, rows).await;
Expand All @@ -451,7 +451,7 @@ async fn test_compaction_update_time_window() {

// Puts window 3600.
let rows = Rows {
schema: column_schemas.to_vec(),
schema: column_schemas.clone(),
rows: build_rows_for_key("a", 2400, 3600, 0),
};
put_rows(&engine, region_id, rows).await;
Expand Down
4 changes: 2 additions & 2 deletions src/mito2/src/memtable/time_partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ mod tests {
assert_eq!(0, partitions.num_partitions());

let kvs = memtable_util::build_key_values(
&metadata,
metadata,
"hello".to_string(),
0,
&[2000, 0],
Expand All @@ -553,7 +553,7 @@ mod tests {
assert!(!partitions.is_empty());

let kvs = memtable_util::build_key_values(
&metadata,
metadata,
"hello".to_string(),
0,
&[3000, 7000, 4000, 5000],
Expand Down

0 comments on commit 3f15eb8

Please sign in to comment.