rcongiu / Hive-JSON-Serde

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

Value of Date datatype fields are always retured as null via hiveserver2 #187

Open Yulei-Yang opened 7 years ago

Yulei-Yang commented 7 years ago

hive version: 1.2.1 while when run the same hql in hive cli, the retured value are good.

It seems like date type is not supported in serializeField function of https://github.com/rcongiu/Hive-JSON-Serde/blob/develop/json-serde/src/main/java/org/openx/data/jsonserde/JsonSerDe.java

Please take a look