I have a string like so: "2014-09-02T03:01:09.8093664Z"
, and Im trying to convert it into local timezone. I tried from_utc_timestamp(eventTime, 'GMT')
, from_utc_timestamp(eventTime, "PDT")
, but Hive just returns error:
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row (tag=0) {"key":{"_col0":"2014-09-02T03:01:09.8093664Z",
.
.
.
... 7 more
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Error evaluating Converting field _col0 from UTC to timezone: 'PDT'
Am I doing something wrong here?
I searched stackoverflow and did not find a solution to this problem (Local Time Convert To UTC Time In Hive is related but doesn't solve the problem)