You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/03/31 12:12:24 UTC

[GitHub] [arrow] jorisvandenbossche opened a new issue, #34824: [C++] Kernel to construct MonthDayNanoInterval array from separate arrays of months/days/nanos

jorisvandenbossche opened a new issue, #34824:
URL: https://github.com/apache/arrow/issues/34824

   Currently it's not straightforward to construct a MonthDayNanoIntervalArray from existing data. The python layer adds conversion from timedelta/relativedelta/tuples of ints, but so that's only for generic python->arrow conversion, not if you already have arrow data. For example, converting an array of integers that represents the number of days to an interval array.
   
   Proposal: a scalar kernel that can construct an interval array from its parts (eg `month_day_nano_interval_from_parts(months, days, nanos)`, so where each of the months/days/nanos parts can be an array or a scalar.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org