Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9544

[R] version argument of write_parquet not working

    XMLWordPrintableJSON

Details

    Description

      Specifying the version argument of write_parquet() does not work as described in the documentation. See the reprex:

      ``` r
      library(arrow)
      #> 
      #> Attaching package: 'arrow'
      #> The following object is masked from 'package:utils':
      #> 
      #>     timestamp
      
      write_parquet(mtcars, tempfile(), version = "1.0")
      #> Error in parquet___ArrowWriterProperties___Builder__version(self, make_valid_version(version)): could not find function "parquet___ArrowWriterProperties___Builder__version"
      
      sessionInfo()
      #> R version 4.0.2 (2020-06-22)
      #> Platform: x86_64-pc-linux-gnu (64-bit)
      #> Running under: elementary OS 5.1.6 Hera
      #> 
      #> Matrix products: default
      #> BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
      #> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
      #> 
      #> locale:
      #>  [1] LC_CTYPE=de_DE.UTF-8       LC_NUMERIC=C              
      #>  [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=de_DE.UTF-8    
      #>  [5] LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=de_DE.UTF-8   
      #>  [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C                 
      #>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
      #> [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       
      #> 
      #> attached base packages:
      #> [1] stats     graphics  grDevices utils     datasets  methods   base     
      #> 
      #> other attached packages:
      #> [1] arrow_0.17.1
      #> 
      #> loaded via a namespace (and not attached):
      #>  [1] Rcpp_1.0.5       assertthat_0.2.1 digest_0.6.25    R6_2.4.1        
      #>  [5] magrittr_1.5     evaluate_0.14    highr_0.8        rlang_0.4.7     
      #>  [9] stringi_1.4.6    vctrs_0.3.2      rmarkdown_2.3    tools_4.0.2     
      #> [13] bit64_0.9-7.1    stringr_1.4.0    glue_1.4.1       purrr_0.3.4     
      #> [17] bit_1.1-15.2     xfun_0.15        yaml_2.2.1       compiler_4.0.2  
      #> [21] htmltools_0.5.0  tidyselect_1.1.0 knitr_1.29       colorout_1.2-2
      ```<sup>Created on 2020-07-23 by the [reprex package](https://reprex.tidyverse.org) (v0.3.0)</sup>
      

      According to the documentation, both "1.0" and "2.0" should work, but neither does. Also 1 and 2 (as numeric) don't work.

       

      Please note: This is my first bug report on JIRA. Please tell me, if something is missing.

      Attachments

        Issue Links

          Activity

            People

              Plebejer Matthias Gomolka
              Plebejer Matthias Gomolka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h