AbstractPrimitiveObjectInspector class has two fields:
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.