What is ObjectInspector in Hive?

ObjectInspector is used in Hive to look into the internal structure of a complex object. It is an interface that is implemented by classes like StandardListObjectInspector, StandardMapObjectInspector, StandardSetObjectInspector etc.

Main use of ObjectInspector is in SerDe package for Serialization and Deserialization.

We have to make sure that hashCode() and equals() methods of Object class work for ObjectInspector as well.

Read the full book at www.amazon.com
Posted in Hive, Hive Interview Questions

Leave a Reply

Your email address will not be published. Required fields are marked *

*