Skip to content

Commit

Permalink
Test which fails when stats is missing in checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jkylling committed Sep 3, 2024
1 parent 4ee4e54 commit 6da8b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/kernel/arrow/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ pub(crate) fn delta_log_schema_for_table(
size:Int64,
modificationTime:Int64,
dataChange:Boolean,
stats:Utf8,
// stats:Utf8, // uncomment to make test pass
partitionValues,
tags,
deletionVector[
Expand Down
1 change: 1 addition & 0 deletions crates/core/tests/checkpoint_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ mod simple_checkpoint {
let table = table_result;
let files = table.get_files_iter().unwrap();
assert_eq!(12, files.count());
assert_eq!(12, table.snapshot().unwrap().file_actions().unwrap().len());
}

fn get_last_checkpoint_version(log_path: &Path) -> i64 {
Expand Down

0 comments on commit 6da8b6b

Please sign in to comment.