Skip to content

Commit

Permalink
fix Field's is_nullable metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jun 26, 2023
1 parent 4574cd8 commit 8261732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/re_types_builder/src/arrow_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ impl ArrowRegistry {
Box::new(LazyField {
name: "item".into(),
datatype: self.arrow_datatype_from_element_type(elem_type),
is_nullable: false,
is_nullable: field.is_nullable,
metadata: Default::default(),
}),
length,
),
Type::Vector { elem_type } => LazyDatatype::List(Box::new(LazyField {
name: "item".into(),
datatype: self.arrow_datatype_from_element_type(elem_type),
is_nullable: false,
is_nullable: field.is_nullable,
metadata: Default::default(),
})),
Type::Object(fqname) => LazyDatatype::Unresolved(fqname),
Expand Down

0 comments on commit 8261732

Please sign in to comment.