Hive
  1. Hive
  2. HIVE-4160 Vectorized Query Execution in Hive
  3. HIVE-4604

Cleanup column type dependencies in vectorization aggregate code

    Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: vectorization-branch
    • Fix Version/s: None
    • Component/s: Query Processor
    • Labels:
      None

      Description

      The vectorized aggregates code is sprinckled with checks of the primitive types (int, bigin, long, double, string etc), eg:

      VectorHashKeyWrapperBatch.compileKeyWrapperBatch
      VectorizedRowBatch.createObjectInspector
      VectorizationContext.mapObjectInspectors
      VectorizationContext.columnTypes
      VectorizationContext.allocateColumnVector
      more?

      This is unmaintainable. We need to centralize and abstract all these type checks into a single place.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Remus Rusanu
            Reporter:
            Remus Rusanu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development