cboettig opened a new issue, #35184:
URL: https://github.com/apache/arrow/issues/35184
### Describe the bug, including details regarding any error messages,
version, and platform.
The following code produces a segfault in R (arrow 11.0.3, on Ubuntu Linux):
```r
download.file("https://minio.carlboettiger.info/shared-data/tmp_df1.parquet",
"tmp_df1.parquet")
df1 <- arrow::read_parquet("tmp_df1.parquet")
arrow::write_dataset(df1, tempfile(), partitioning="site_id") # segfault
```
Note that if we omit the partitioning, or if we use only the first 1e6 rows
(the data.frame has about 11 million rows, and is nearly a gigabyte in RAM),
the code does not segfault.
```r
arrow::write_dataset(head(df1, 1e6), tempfile(), partitioning="site_id") #
works fine
```
### Component(s)
Parquet, R
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]