rcongiu / Hive-JSON-Serde

Read - Write JSON SerDe for Apache Hive.
Other
733 stars 393 forks source link

Support for ISO8601 date(time) strings #167

Open static-max opened 8 years ago

static-max commented 8 years ago

This PR is based on 'prezi/iso8601changes' and only includes the changes relevant for the ISO8601 parsing. I added a test for timestamps in UTC timezone.

sid88in commented 7 years ago

does hive-json-serde support ISO timestamp?

My json contains: 2017-08-17T10:46:04+0000 Hive table fieldType: timestamp

Error: Caused by: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]