From 8bdcc6ac915714f704a622abbfa1b496b1695cde Mon Sep 17 00:00:00 2001 From: Elliana May Date: Fri, 12 Apr 2024 15:57:40 +0800 Subject: [PATCH] chore: add todo --- src/row.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/row.rs b/src/row.rs index ec05b86c..f5b88a15 100644 --- a/src/row.rs +++ b/src/row.rs @@ -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),