0 votes
in Big Data | Hadoop by
What is ObjectInspector in Hive?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Apr 24, 2020 in Big Data | Hadoop by Hodge
0 votes
asked Apr 24, 2020 in Big Data | Hadoop by Hodge
...