Skip to content

Commit

Permalink
chore: add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause committed Apr 12, 2024
1 parent 296ae16 commit 8bdcc6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,12 @@ impl<'stmt> Row<'stmt> {
}

let value = array.value(row);

// TODO: remove this manual conversion once arrow-rs bug is fixed
let months = (value) as i32;
let days = (value >> 32) as i32;
let nanos = (value >> 64) as i64;

ValueRef::Interval { months, days, nanos }
}
_ => unimplemented!("{:?}", unit),
Expand Down

0 comments on commit 8bdcc6a

Please sign in to comment.