rcongiu / Hive-JSON-Serde

Read - Write JSON SerDe for Apache Hive.
Other
732 stars 391 forks source link

Fix primitive serialization #162

Open koboldunderlord opened 8 years ago

koboldunderlord commented 8 years ago

Attempt #2.

Hive handles primitive types using the base Hadoop writable rather than its own during joins, which means that in order to use the proper DoubleWritable class from Hive you have to actually return an object of the appropriate type in JsonSerDe.serializeField instead of a primitive.