Description
When I call the from_utc_timestamp function (or to_utc_timestamp) using my current time zone, the result is incorrect:
// CURRENT SERVER TIME ZONE IS PDT hive> select to_utc_timestamp('2015-10-13 09:15:34.101', 'PDT'); 2015-10-13 09:15:34.101 // NOT CHANGED! hive> select to_utc_timestamp('2015-10-13 09:15:34.101', 'PST'); 2015-10-13 16:15:34.101 // CORRECT VALUE FOR PST
UPDATE: It appears that happens because the daylight savings zones are not recognized.
Attachments
Issue Links
- relates to
-
HIVE-12195 Unknown zones should cause an error instead of silently failing
- Patch Available