[ https://issues.apache.org/jira/browse/ARROW-12373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Keane updated ARROW-12373: ----------------------------------- Component/s: (was: R) > [C++] 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++ > Affects Versions: 3.0.0 > Reporter: Mauricio 'PachĂĄ' Vargas SepĂșlveda > Priority: Major > Labels: bug > > 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)