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)