Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7149

Parquet not able to handle negative decimal numbers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • None

    Description

      Because of storing decimal numbers as fixed length bytes, Parquet Serde pads leading zeros for decimal numbers that has less bytes representation. This works fine for positive decimals, but messes up with negative ones, for which, leading 1 bits are needed.

      Attachments

        1. HIVE-7149.patch
          4 kB
          Xuefu Zhang

        Activity

          People

            xuefuz Xuefu Zhang
            xuefuz Xuefu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: