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

Fast Decimal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.2.0
    • Hive
    • None

    Description

      Replace HiveDecimal implementation that currently represents the decimal internally as a BigDecimal with a faster version that does not allocate extra objects

      Replace HiveDecimalWritable implementation with a faster version that has new mutable* calls (e.g. mutableAdd, mutableEnforcePrecisionScale, etc) and stores the result as a fast decimal instead of a slow byte array containing a serialized BigInteger.

      Provide faster ways to serialize/deserialize decimals.

      Attachments

        1. HIVE-15335.01.patch
          744 kB
          Matt McCline
        2. HIVE-15335.02.patch
          794 kB
          Matt McCline
        3. HIVE-15335.03.patch
          858 kB
          Matt McCline
        4. HIVE-15335.04.patch
          860 kB
          Matt McCline
        5. HIVE-15335.05.patch
          863 kB
          Matt McCline
        6. HIVE-15335.06.patch
          870 kB
          Matt McCline
        7. HIVE-15335.07.patch
          894 kB
          Matt McCline
        8. HIVE-15335.08.patch
          879 kB
          Matt McCline
        9. HIVE-15335.09.patch
          888 kB
          Matt McCline
        10. HIVE-15335.091.patch
          830 kB
          Matt McCline
        11. HIVE-15335.092.patch
          835 kB
          Matt McCline
        12. HIVE-15335.093.patch
          843 kB
          Matt McCline
        13. HIVE-15335.094.patch
          844 kB
          Matt McCline
        14. HIVE-15335.095.patch
          843 kB
          Matt McCline
        15. HIVE-15335.096.patch
          846 kB
          Matt McCline
        16. HIVE-15335.097.patch
          908 kB
          Matt McCline
        17. HIVE-15335.098.patch
          908 kB
          Matt McCline
        18. HIVE-15335.099.patch
          908 kB
          Matt McCline
        19. HIVE-15335.0991.patch
          908 kB
          Matt McCline
        20. HIVE-15335.0992.patch
          890 kB
          Matt McCline
        21. HIVE-15335.0993.patch
          881 kB
          Matt McCline

        Activity

          People

            mmccline Matt McCline
            mmccline Matt McCline
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: