Skip to content

Commit

Permalink
fix: Missing method for int64 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
waralexrom authored Sep 13, 2023
1 parent 410efcb commit 77c4551
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arrow/src/datatypes/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ impl ArrowNativeType for i64 {
fn to_isize(&self) -> Option<isize> {
num::ToPrimitive::to_isize(self)
}
///
/// Convert native type from i64.
#[inline]
fn from_i64(val: i64) -> Option<Self> {
Some(val)
}
}

impl JsonSerializable for i128 {
Expand Down

0 comments on commit 77c4551

Please sign in to comment.