You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2022/03/02 12:20:00 UTC

[jira] [Created] (ARROW-15827) [R] Improve UX of write_dataset(..., max_rows_per_group)

Nicola Crane created ARROW-15827:
------------------------------------

             Summary: [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


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)