You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jacob Wujciak-Jens (Jira)" <ji...@apache.org> on 2022/04/05 09:58:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-15827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Wujciak-Jens reassigned ARROW-15827:
------------------------------------------

    Assignee: Jacob Wujciak-Jens

> [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
>            Assignee: Jacob Wujciak-Jens
>            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)