jonkeane commented on a change in pull request #9591: URL: https://github.com/apache/arrow/pull/9591#discussion_r584794792
########## File path: r/R/dataset-write.R ########## @@ -53,6 +53,17 @@ #' - `codec`: A [Codec] which will be used to compress body buffers of written #' files. Default (NULL) will not compress body buffers. #' @return The input `dataset`, invisibly +#' @examples +#' \donttest{ +#' # we can group by cyl, cyl and gear or even more variables +#' write_dataset(mtcars, tempdir(), "feather", partitioning = "cyl")) Review comment: https://issues.apache.org/jira/browse/ARROW-11582 is relevant here (we should make that error message nicer, and possibly default to parquet if we can without hurting anything else / needing to do a scan of the data / etc) ---------------------------------------------------------------- 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: us...@infra.apache.org