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)

Reply via email to