lidavidm commented on a change in pull request #10960:
URL: https://github.com/apache/arrow/pull/10960#discussion_r710163129
##########
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:
How about this?
```
const FunctionDoc years_between_doc{
"Compute the number of years between two timestamps",
("Returns the number of year boundaries crossed from the first timestamp
to the\n"
"second. That is, the difference is calculated as if the timestamps
were\n"
"truncated to the year.\n"
"Null values emit null."),
{"start", "end"}};
```
--
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]