[
https://issues.apache.org/jira/browse/ARROW-15827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicola Crane updated ARROW-15827:
---------------------------------
Fix Version/s: 8.0.0
> [R] Improve UX of write_dataset(..., max_rows_per_group)
> --------------------------------------------------------
>
> Key: ARROW-15827
> URL: https://issues.apache.org/jira/browse/ARROW-15827
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Priority: Major
> Fix For: 8.0.0
>
>
> When using {{write_dataset()}}, if we set {{max_rows_per_file}} without also
> setting {{max_rows_per_group}}, we always get the error shown below.
> {code:r}
> library(arrow)
> td <- tempfile()
> dir.create(td)
> write_dataset(mtcars, td, max_rows_per_file = 5L)
> #> Error: Invalid: max_rows_per_group must be less than or equal to
> max_rows_per_file
> {code}
> We should change the behaviour so we can specify one without having to also
> specify the other.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)