Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Update src/array/primitive/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge Leitao <[email protected]>
  • Loading branch information
ritchie46 and jorgecarleitao authored Jun 15, 2022
1 parent 5926811 commit 0f70c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/primitive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,6 @@ pub type UInt64Vec = MutablePrimitiveArray<u64>;

impl<T: NativeType> Default for PrimitiveArray<T> {
fn default() -> Self {
PrimitiveArray::new(DataType::Null, vec![].into(), None)
PrimitiveArray::new(T::PRIMITIVE.into(), Default::default(), None)
}
}

0 comments on commit 0f70c8b

Please sign in to comment.