Closed appanasatya closed 7 years ago
Because there is no case for TIMESTAMP in there https://github.com/rcongiu/Hive-JSON-Serde/blob/develop/json-serde/src/main/java/org/openx/data/jsonserde/JsonSerDe.java#L296-L326 . Then, default value 'null' is used for TIMESTAMP columns.
@bigwheel is right, timestamp is missing in serialization. I just pushed a fix in the development branch, have a look. I did a brief test and it looks like it's working: {"b":"2014-09-16 12:13:14","a":3}
@appanasatya I came across the same issue recently and here is the PR for it https://github.com/rcongiu/Hive-JSON-Serde/pull/143. Hopefully @rcongiu will have time to review it.
I did merge it and it should be working. Closing, reopen if you still have the issue.
Timestamp field and value is not even reflecting in the file that hive external table is pointing to.
Hive Timestamp DataType Reference