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

[R] Add ability to opt-out of int64 -> int demotion

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • R

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              romainfrancois Romain Francois
              kdkavanagh Kyle Kavanagh
              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 - 1.5h
                  1.5h