-
Type:
Sub-task
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: vectorization-branch
-
Fix Version/s: None
-
Component/s: Query Processor
-
Labels:None
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.