You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johndee Burks (JIRA)" <ji...@apache.org> on 2013/12/11 22:09:07 UTC
[jira] [Created] (HIVE-6009) Add from_unixtime UDF that has
controllable Timezone
Johndee Burks created HIVE-6009:
-----------------------------------
Summary: Add from_unixtime UDF that has controllable Timezone
Key: HIVE-6009
URL: https://issues.apache.org/jira/browse/HIVE-6009
Project: Hive
Issue Type: Improvement
Components: CLI
Affects Versions: 0.10.0
Environment: CDH4.4
Reporter: Johndee Burks
Priority: Trivial
Currently the from_unixtime UDF takes into a account timezone of the system doing the transformation. I think that implementation is good, but it would be nice to include or change the current UDF to have a configurable timezone.
It would be useful for looking at timestamp data from different regions in the native region's timezone.
Example:
from_unixtime(unix_time, format, timezone)
from_unixtime(1293840000, dd MMM yyyy, GMT-5)
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)