Remus Rusanu created HIVE-4604: ---------------------------------- Summary: Cleanup column type dependencies in vectorization aggregate code Key: HIVE-4604 URL: https://issues.apache.org/jira/browse/HIVE-4604 Project: Hive Issue Type: Sub-task Components: Query Processor Affects Versions: vectorization-branch Reporter: Remus Rusanu Assignee: Remus Rusanu Priority: Minor
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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira