pdbailey0 opened a new issue, #46184:
URL: https://github.com/apache/arrow/issues/46184

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   when I run this with the really awesome R `arrow` package on my Manjaro 
computer it crashes R
   ```r
   df <- data.frame(yr=1:5, other=LETTERS[1:5])
   arrow::write_dataset(dataset=df, path="~/yr", partitioning = c("yr"), format 
= "parquet")
   ```
   I tried the latest CRAN version and installed the latest 
`install.packages("arrow", repos = c("https://apache.r-universe.dev";, 
"https://cloud.r-project.org";))` which took a minute to compile.
   
   It runs fine on my arm64 Apple.
   
   I also tried entering the full path. Here's what it returns:
   ```
    *** caught illegal operation ***
   address 0x[an address], cause 'illegal operand'
   
   Traceback:
    1: ExecPlan_Write(self, node, node$schema$WithMetadata(final_metadata),     
...)
    2: plan$Write(final_node, options, path_and_fs$fs, path_and_fs$path,     
partitioning, basename_template, existing_data_behavior,     max_partitions, 
max_open_files, max_rows_per_file, min_rows_per_group,     max_rows_per_group)
    3: arrow::write_dataset(dataset = df, path = "/home/pro/yr", partitioning = 
c("yr"),     format = "parquet")
   
   Possible actions:
   1: abort (with core dump, if enabled)
   2: normal R exit
   3: exit R without saving workspace
   4: exit R saving workspace
   ```
   
   sessionInfo:
   ```
   R version 4.4.3 (2025-02-28)
   Platform: x86_64-pc-linux-gnu
   Running under: Manjaro Linux
   
   Matrix products: default
   BLAS:   /usr/lib/libblas.so.3.12.0 
   LAPACK: /usr/lib/liblapack.so.3.12.0
   
   locale:
    [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
    [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
    [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
    [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
    [9] LC_ADDRESS=C               LC_TELEPHONE=C            
   [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
   
   time zone: America/Chicago
   tzcode source: system (glibc)
   
   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base     
   
   other attached packages:
   [1] arrow_19.0.1.1
   
   loaded via a namespace (and not attached):
    [1] tidyselect_1.2.1 bit_4.6.0        compiler_4.4.3   magrittr_2.0.3  
    [5] assertthat_0.2.1 R6_2.6.1         cli_3.6.4        glue_1.8.0      
    [9] bit64_4.6.0-1    vctrs_0.6.5      lifecycle_1.0.4  rlang_1.1.6     
   [13] purrr_1.0.4     
   ```
   
   ### Component(s)
   
   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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to