You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2020/05/07 00:57:00 UTC

[jira] [Created] (ARROW-8726) segfault with a mis-specified partition

Jonathan Keane created ARROW-8726:
-------------------------------------

             Summary: segfault with a mis-specified partition
                 Key: ARROW-8726
                 URL: https://issues.apache.org/jira/browse/ARROW-8726
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
            Reporter: Jonathan Keane


Calling filter + collect on a dataset with a mis-specified partitioning causes a segfault. Though this is clearly input error, it would be nice if there was some guidance that something was wrong with the partitioning.

{code:r}
library(arrow)
library(dplyr)

dir.create("multi_mtcars/one", recursive = TRUE)
dir.create("multi_mtcars/two", recursive = TRUE)
write_parquet(mtcars, "multi_mtcars/one/mtcars.parquet")
write_parquet(mtcars, "multi_mtcars/two/mtcars.parquet")

ds <- open_dataset("multi_mtcars", partitioning = c("level", "nothing"))

# the following will segfault
ds %>%
  filter(cyl > 8) %>% 
  collect()
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)