Skip to content

Commit 77c4551

Browse files
authored
fix: Missing method for int64 (#23)
1 parent 410efcb commit 77c4551

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arrow/src/datatypes/native.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,12 @@ impl ArrowNativeType for i64 {
193193
fn to_isize(&self) -> Option<isize> {
194194
num::ToPrimitive::to_isize(self)
195195
}
196+
///
197+
/// Convert native type from i64.
198+
#[inline]
199+
fn from_i64(val: i64) -> Option<Self> {
200+
Some(val)
201+
}
196202
}
197203

198204
impl JsonSerializable for i128 {

0 commit comments

Comments
 (0)