You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/10/01 23:09:00 UTC

[jira] [Updated] (ARROW-10093) [R] Add ability to opt-out of int64 -> int demotion

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

Neal Richardson updated ARROW-10093:
------------------------------------
    Component/s: R

> [R] Add ability to opt-out of int64 -> int demotion
> ---------------------------------------------------
>
>                 Key: ARROW-10093
>                 URL: https://issues.apache.org/jira/browse/ARROW-10093
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: R
>            Reporter: Kyle Kavanagh
>            Priority: Major
>
> Currently, if arrow detects that every value in an int64 column can fit in a 32bit int, it will downcast the column an set the type to integer instead of integer64.  Not having a mechanism to disable this optimization makes it tricky if you have many parallel processes (think HPC use case) performing the same calculation but potentially outputting different result values, some being >2^32 and others not.  When you go to collect the resulting feather files from the parallel processes, the types across the files may not line up.
> Feature request is to provide an option to disable this demotion and maintain the source column type.



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