Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4160 Vectorized Query Execution in Hive
  3. HIVE-5762

Implement vectorized support for the DECIMAL data type

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Add support to allow queries referencing DECIMAL columns and expression results to run efficiently in vectorized mode. Include unit tests and end-to-end tests.

      Before starting or at least going very far, please write design specification (a new section for the design spec attached to HIVE-4160) for how support for the different DECIMAL types should work in vectorized mode, and the roadmap, and have it reviewed.

      It may be feasible to re-use LongColumnVector and related VectorExpression classes for fixed-point decimal in certain data ranges. That should be at least considered to get faster performance and save code. For unlimited precision DECIMAL, a new column vector subtype may be needed, or a BytesColumnVector could be re-used.

      Attachments

        Issue Links

          Activity

            People

              ehans Eric N. Hanson
              ehans Eric N. Hanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: