Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.12.0
-
None
Description
AbstractPrimitiveObjectInspector class has two fields:
protected PrimitiveTypeEntry typeEntry; protected BaseTypeParams typeParams;
But PrimitiveTypeEntry already has member BaseTypeParams instance, which is identical to "typeParams" we see here. Thus, there is some redundant information stored at different places. Ideally, we should have a single point of truth.
This refactoring is required by HIVE-3976 work. This is singled out to make the review easier.