Jan 12, 2020 in Big Data | Hadoop
Q: What is ObjectInspector in Hive?

1 Answer

0 votes
Jan 12, 2020

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
Apr 24, 2020 in Big Data | Hadoop
0 votes
Jan 12, 2020 in Big Data | Hadoop
...