[ 
https://issues.apache.org/jira/browse/ARROW-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neal Richardson resolved ARROW-10296.
-------------------------------------
    Fix Version/s: 2.0.0
         Assignee: Neal Richardson
       Resolution: Duplicate

This is a deliberate 
[feature|https://arrow.apache.org/docs/r/news/index.html#arrow-format-conversion],
 but in the upcoming release you'll be able to [disable 
it|https://github.com/apache/arrow/blob/master/r/NEWS.md#bug-fixes-and-other-enhancements].
 

> [R] Data saved as integer64 loaded as integer
> ---------------------------------------------
>
>                 Key: ARROW-10296
>                 URL: https://issues.apache.org/jira/browse/ARROW-10296
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 1.0.1
>         Environment: R3.6.1, arrow 1.0.1, bit64 4.0.5
> full sessionIfno():
> R version 3.6.1 (2019-07-05)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 10 x64 (build 19041)
> Matrix products: default
> locale:
> [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United 
> States.1252    LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C                           LC_TIME=English_United States.1252 
>    
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     
> loaded via a namespace (and not attached):
>  [1] Rcpp_1.0.5       fansi_0.4.1      arrow_1.0.1      dplyr_1.0.2      
> crayon_1.3.4     assertthat_0.2.1 R6_2.4.1         lifecycle_0.2.0 
>  [9] magrittr_1.5     pillar_1.4.6     cli_2.0.2        rlang_0.4.7      
> rstudioapi_0.11  generics_0.0.2   vctrs_0.3.4      ellipsis_0.3.1  
> [17] tools_3.6.1      bit64_4.0.5      feather_0.3.5    glue_1.4.2       
> purrr_0.3.4      bit_4.0.4        hms_0.5.3        compiler_3.6.1  
> [25] pkgconfig_2.0.3  tidyselect_1.1.0 tibble_3.0.3    
>            Reporter: Ofek Shilon
>            Assignee: Neal Richardson
>            Priority: Major
>             Fix For: 2.0.0
>
>
> {{> v <- bit64::as.integer64(1:10)}}
> {{> df <- data.frame(v=v)}}
> {{> class(df$v)}}
> {{[1] "*integer64*"}}
> {{> arrow::write_feather(df, "./tmp")}}
> {{> df2 <- arrow::read_feather("./tmp")}}
> {{> class(df2$v)}}
> {{[1] "*integer*"}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to