You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/09/22 14:08:43 UTC

[GitHub] [arrow] thisisnic commented on a diff in pull request #14184: ARROW-17788: [R][Doc] Add example of using Scanner

thisisnic commented on code in PR #14184:
URL: https://github.com/apache/arrow/pull/14184#discussion_r977704422


##########
r/R/dataset-scan.R:
##########
@@ -53,6 +53,29 @@
 #' query and returns an Arrow [Table].
 #' @rdname Scanner
 #' @name Scanner
+#' @examplesIf arrow_with_dataset() & arrow_with_parquet()
+#' # Set up directory for examples
+#' tf <- tempfile()
+#' dir.create(tf)
+#' on.exit(unlink(tf))
+#'
+#' data <- dplyr::group_by(mtcars, cyl)

Review Comment:
   Given we don't have dplyr as a dependency, could it be worth removing the `group_by()` call here, and manually specifying the `partitioning` argument to `write_dataset()` instead?



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org