ianmcook commented on a change in pull request #10992:
URL: https://github.com/apache/arrow/pull/10992#discussion_r701424029
##########
File path: r/R/dplyr.R
##########
@@ -75,6 +66,16 @@ arrow_dplyr_query <- function(.data) {
)
}
+as_adq <- function(.data) {
Review comment:
```suggestion
# The only difference between `arrow_dplyr_query()` and `as_adq()` is that if
# `.data` is already an `arrow_dplyr_query`, `as_adq()`, will return it as
is, but
# `arrow_dplyr_query()` will nest it inside a new `arrow_dplyr_query`. The
only
# place where `arrow_dplyr_query()` should be called directly is inside
# `collapse()` methods; everywhere else, call `as_adq()`.
as_adq <- function(.data) {
```
--
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]