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