Skip to content

Commit

Permalink
fix: correct the schema definition of deletion vector
Browse files Browse the repository at this point in the history
Signed-off-by: R. Tyler Croy <[email protected]>
  • Loading branch information
rtyler committed Nov 29, 2024
1 parent f5f7ccc commit d063b48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/core/src/kernel/models/fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ fn deletion_vector_field() -> StructField {
StructField::new(
"deletionVector",
DataType::Struct(Box::new(StructType::new(vec![
StructField::new("storageType", DataType::STRING, true),
StructField::new("pathOrInlineDv", DataType::STRING, true),
StructField::new("storageType", DataType::STRING, false),
StructField::new("pathOrInlineDv", DataType::STRING, false),
StructField::new("offset", DataType::INTEGER, true),
StructField::new("sizeInBytes", DataType::INTEGER, true),
StructField::new("cardinality", DataType::LONG, true),
StructField::new("sizeInBytes", DataType::INTEGER, false),
StructField::new("cardinality", DataType::LONG, false),
]))),
true,
)
Expand Down

0 comments on commit d063b48

Please sign in to comment.