Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2163

Parquet C++ Float Runtime Error in Decimal Schema

    XMLWordPrintableJSON

Details

    Description

      The code that determines if a physical type is appropriate for a particular decimal logical type can overflow to infinity which then triggers a floating point error when converting to int32.

       

      I don't know how large of decimals we want to support but there is a simple fix to support up to ~2^31 -1 digits.

      Attachments

        Issue Links

          Activity

            People

              willb_google William Butler
              willb_google William Butler
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 20m
                  1h 20m