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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   After upgrading to arrow 15.0.1 for R, I was unable to read or write parquet 
files, which in my case was quite the fundamental feature for using the 
package, because they are so amazing for big datasets :-)
   
   Downgrading to 14.0.0.2 fixes this for me.
   
   There are other issues filed about compilation problems, but this has to do 
with the CRAN release specifically, and so seems separate although it may be 
somewhat related. Following are reprexes for each version (based on manually 
installing the binaries I had downloaded from CRAN for each version.
   
   
   ### 15.0.1
   
   ``` r
   dir <- ".../arrow_releases"
   #install.packages(file.path(dir, "arrow_14.0.0.2.tgz"), repos = NULL)
   install.packages(file.path(dir, "arrow_15.0.1.tgz"), repos = NULL)
   #> Installing package into '.../R/x86_64/4.3/library'
   #> (as 'lib' is unspecified)
   
   library(arrow, warn.conflicts = FALSE)
   #> Some features are not enabled in this build of Arrow. Run `arrow_info()` 
for more information.
   write_parquet(cars, "temp.parquet")
   #> Error in parquet___WriterProperties___Builder__create(): Cannot call 
parquet___WriterProperties___Builder__create(). See 
https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow 
C++ libraries.
   read_parquet("temp.parquet") |> tibble::as_tibble() |> print()
   #> Error in 
parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)): Cannot call 
parquet___arrow___ArrowReaderProperties__Make(). See 
https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow 
C++ libraries.
   ```
   
   <sup>Created on 2024-04-06 with [reprex 
v2.1.0](https://reprex.tidyverse.org)</sup>
   
   ### 14.0.0.2
   
   ``` r
   dir <- ".../arrow_releases"
   install.packages(file.path(dir, "arrow_14.0.0.2.tgz"), repos = NULL)
   #> Installing package into '.../R/x86_64/4.3/library'
   #> (as 'lib' is unspecified)
   #install.packages(file.path(dir, "arrow_15.0.1.tgz"), repos = NULL)
   
   library(arrow, warn.conflicts = FALSE)
   write_parquet(cars, "temp.parquet")
   read_parquet("temp.parquet") |> tibble::as_tibble() |> print()
   #> # A tibble: 50 × 2
   #>    speed  dist
   #>    <dbl> <dbl>
   #>  1     4     2
   #>  2     4    10
   #>  3     7     4
   #>  4     7    22
   #>  5     8    16
   #>  6     9    10
   #>  7    10    18
   #>  8    10    26
   #>  9    10    34
   #> 10    11    17
   #> # ℹ 40 more rows
   ```
   
   <sup>Created on 2024-04-06 with [reprex 
v2.1.0](https://reprex.tidyverse.org)</sup>
   
   ### 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