Gabriel Reid created PHOENIX-983:
------------------------------------
Summary: Add a function for getting the GMT offset for a given
timezone and time
Key: PHOENIX-983
URL: https://issues.apache.org/jira/browse/PHOENIX-983
Project: Phoenix
Issue Type: New Feature
Reporter: Gabriel Reid
Based on pull request: https://github.com/apache/incubator-phoenix/pull/26
Function for get offset (shift) of timezone at particular datetime. Example use
case: let's say you have stored some data in some offset and want to query like
this:
{code}
SELECT * FROM table
WHERE offset = TIMEZONE_OFFSET('Indian/Cocos', TO_DATE('2014-02-01 00:00:00'))
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)