lidavidm commented on a change in pull request #10960:
URL: https://github.com/apache/arrow/pull/10960#discussion_r710170126



##########
File path: cpp/src/arrow/compute/kernels/scalar_temporal.cc
##########
@@ -1104,6 +1375,90 @@ const FunctionDoc assume_timezone_doc{
     {"timestamps"},
     "AssumeTimezoneOptions"};
 
+const FunctionDoc years_between_doc{
+    "Compute the number of year boundaries between two timestamps",

Review comment:
       I suppose the reason why I'm using 'boundaries' is because the 
difference between 1998-12-01 and 1999-01-1 is '1 year' here even though a 
complete year hasn't passed.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to