dragosmg commented on code in PR #12757:
URL: https://github.com/apache/arrow/pull/12757#discussion_r848430272


##########
r/R/dplyr-funcs-datetime.R:
##########
@@ -330,3 +349,33 @@ binding_format_datetime <- function(x, format = "", tz = 
"", usetz = FALSE) {
 
   build_expr("strftime", x, options = list(format = format, locale = 
Sys.getlocale("LC_TIME")))
 }
+
+duration_from_chunks <- function(chunks) {

Review Comment:
   `lubridate::make_difftime()` creates a `difftime` object from various 
inputs. The role of the function is _not_ to control the output (i.e. units, 
which can only be seconds for Arrow), but to rather to take inputs the user 
might specify through the `...` and transform them into a single quantity.



-- 
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