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

Limit Hive decimal type maximum precision and scale to 38

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: Types
    • Labels:
      None

      Description

      With HIVE-3976, the maximum precision is set to 65, and maximum scale is to 30. After discussing with several folks in the community, it's determined that 38 as a maximum for both precision and scale are probably sufficient, in addition to the potential performance boost that might become possible to some implementation.

      This task is to make such a change. The change is expected to be trivial, but it may impact many test cases. The reason for a separate JIRA is that patch in HIVE-3976 is already in a good shape. Rather than destabilizing a bigger patch, a dedicate patch will facilitates both reviews.

      The wiki document will be updated shortly.

        Attachments

        1. HIVE-5565.6.patch
          97 kB
          Xuefu Zhang
        2. HIVE-5565.5.patch
          94 kB
          Xuefu Zhang
        3. HIVE-5565.4.patch
          94 kB
          Xuefu Zhang
        4. HIVE-5565.3.patch
          92 kB
          Xuefu Zhang
        5. HIVE-5565.2.patch
          90 kB
          Xuefu Zhang
        6. HIVE-5565.1.patch
          90 kB
          Xuefu Zhang
        7. HIVE-5565.patch
          11 kB
          Xuefu Zhang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: