You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Mauricio 'Pachá' Vargas Sepúlveda (Jira)" <ji...@apache.org> on 2021/04/13 21:52:00 UTC
[jira] [Created] (ARROW-12373) max_partitions < 0 is accepted with
no error
Mauricio 'Pachá' Vargas Sepúlveda created ARROW-12373:
---------------------------------------------------------
Summary: max_partitions < 0 is accepted with no error
Key: ARROW-12373
URL: https://issues.apache.org/jira/browse/ARROW-12373
Project: Apache Arrow
Issue Type: Bug
Components: C++, R
Affects Versions: 3.0.0
Reporter: Mauricio 'Pachá' Vargas Sepúlveda
this shouldn't happen, please note the *-*3
```
library(dplyr)
library(arrow)
library(testthat)
try(dir.create("mydir"))
expect_error(
mtcars %>%
group_by(cyl) %>%
write_dataset("mydir", format = "parquet", max_partitions = -3)
)
Error: ``%>%`(...)` did not throw an error.
```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)