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

Commit

Permalink
use Offset trait
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jul 20, 2022
1 parent b18e3d8 commit 3a63129
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/array/utf8/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,11 @@ impl<O: Offset> Default for Utf8Array<O> {
} else {
DataType::Utf8
};
Utf8Array::new(data_type, vec![0].into(), Default::default(), None)
Utf8Array::new(
data_type,
vec![O::from_usize(0).unwrap()].into(),
Default::default(),
None,
)
}
}

0 comments on commit 3a63129

Please sign in to comment.