[
https://issues.apache.org/jira/browse/ARROW-16423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530900#comment-17530900
]
Will Jones commented on ARROW-16423:
------------------------------------
When I run this I also get a segfault, even on the dev version. However,
running the following line before {{library(arrow)}} fixes it:
{code:R}
Sys.setenv(ARROW_USER_SIMD_LEVEL = "NONE")
{code}
[~acthomasca] Could you try that and report if it fixes the issue for you?
(Obviously it's a workaround but will confirm I am seeing the same bug as you.)
> [R] arrow/dplyr: simple join and collect crashes session
> --------------------------------------------------------
>
> Key: ARROW-16423
> URL: https://issues.apache.org/jira/browse/ARROW-16423
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Affects Versions: 7.0.0
> Reporter: Andrew C Thomas
> Priority: Minor
>
> Trying to do an inner join style filter on an open_dataset, and R crashes,
> but not reliably the first time. Sometimes takes a couple of tries until it
> does.
> Reprex follows.
> ------------------------------------------------------
> library (arrow)
> library (dplyr)
> library (tidyr)
> DataSet <- expand_grid (A = 1:10, B = 1:10, C = 1:10000) %>%
> group_by (A, B)
> write_dataset(DataSet, "TestBreakData")
> for (DoThisUntilItBreaks in 1:100) {
> message (DoThisUntilItBreaks)
> D2 <- open_dataset("TestBreakData") %>% inner_join (data.frame (A=1L,
> B=1:5)) %>% collect
> }
--
This message was sent by Atlassian Jira
(v8.20.7#820007)