Hi Matt, Which language? MonthInterval has been around for a while but has not received a lot of attention. In C++ at least MonthIntervalArray is just a specialization of NumericArray [1], where each slot holds the number of months, so you don't really need to use compute functions to get at the value (just direct or visitor access is sufficient).
-Micah [1] https://github.com/apache/arrow/blob/3317f83526cf6cfc6c749748b3e836114262a8d0/cpp/src/arrow/array/array_primitive.h#L107 On Thu, Oct 21, 2021 at 12:34 AM Matt Youill <[email protected]> wrote: > Hi, > > Can't seem to figure out how to work with this arrays of this type - > MonthInterval. > > Is there a way to extract the underlying int using the compute > functions? Cast? Month? Is it simply too new? > > Thanks, Matt > >
