[ 
https://issues.apache.org/jira/browse/PHOENIX-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000531#comment-14000531
 ] 

Hudson commented on PHOENIX-983:
--------------------------------

FAILURE: Integrated in Phoenix-3.0 #80 (See 
[https://builds.apache.org/job/Phoenix-3.0/80/])
PHOENIX-983 Add timezone offset function (gabrielr: rev 
9236a1dcfcd737ac38437979d5b8917f84a84f12)
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/function/TimezoneOffsetFunction.java
* phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java
* 
phoenix-core/src/it/java/org/apache/phoenix/end2end/TimezoneOffsetFunctionIT.java


> 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
>             Fix For: 5.0.0, 3.1, 4.1
>
>         Attachments: PHOENIX-983.patch
>
>
> 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)

Reply via email to