trait ArrowIntervalTypeTrait {
// Required methods
fn to_interval(self) -> Interval;
fn from_interval(value: Interval) -> Self;
}
Expand description
Arrow 52 changed the interval type from i128
to arrow_buffer::IntervalMonthDayNano
, so
we introduced this trait to customize the conversion in arrow_impl.rs
.
We may delete this after all arrow versions are upgraded.
Required Methods§
fn to_interval(self) -> Interval
fn from_interval(value: Interval) -> Self
Object Safety§
This trait is not object safe.