Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Add a kernel to compute the number of years, months, weeks, days, hours, minutes, (micro/milli/nano)seconds, or quarters between two timestamps.
This should act like SQL's DATEDIFF (SQL Server). Pandas doesn't have a convenient equivalent except in the case of days (pd.Timedelta.days) but it can be calculated using Timestamp.to_period.
We have hinnant's date library vendored and this should hopefully be implementable with that.
Attachments
Issue Links
- is a child of
-
ARROW-8894 [C++] C++ array kernels framework and execution buildout (umbrella issue)
- Open
- links to