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

Cleanup column type dependencies in vectorization aggregate code

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • vectorization-branch
    • None
    • Query Processor
    • 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.

      Attachments

        Activity

          People

            rusanu Remus Rusanu
            rusanu Remus Rusanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: