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/04/06 13:21:00 UTC
[jira] [Resolved] (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 ]
Nicola Crane resolved ARROW-15827.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 12799
[https://github.com/apache/arrow/pull/12799]
> [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
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)