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 2021/05/21 14:39:41 UTC

[GitHub] [arrow] pachamaltese commented on a change in pull request #9748: ARROW-11729: [R] Add examples to datasets documentation

pachamaltese commented on a change in pull request #9748:
URL: https://github.com/apache/arrow/pull/9748#discussion_r636973879



##########
File path: r/R/dataset-write.R
##########
@@ -54,6 +54,49 @@
 #' - `null_fallback`: character to be used in place of missing values (`NA` or
 #' `NULL`) when using Hive-style partitioning. See [hive_partition()].
 #' @return The input `dataset`, invisibly
+#' @examples
+#' # We start by creating temporary directories.
+#' one_part_dir <- tempfile()
+#' two_part_dir <- tempfile()
+#' 
+#' # We can write datasets partitioned by the values in a column (here: "cyl").
+#' # This creates a structure of the form cyl=X/part-Z.parquet.

Review comment:
       thanks ! changed




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

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