You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/04/01 19:22:53 UTC

[jira] [Commented] (PHOENIX-1781) Add Now()

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

Hudson commented on PHOENIX-1781:
---------------------------------

FAILURE: Integrated in Phoenix-master #650 (See [https://builds.apache.org/job/Phoenix-master/650/])
PHOENIX-1781 Add Now() (Alicia Ying Shu) (rajeshbabu: rev 13d6296f7cab70e45a5fa9e579f81b2fa0dc03fd)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/YearMonthSecondFunctionIT.java
* phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java
* phoenix-core/src/main/java/org/apache/phoenix/expression/function/NowFunction.java


> Add Now()
> ---------
>
>                 Key: PHOENIX-1781
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1781
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Alicia Ying Shu
>            Assignee: Alicia Ying Shu
>             Fix For: 5.0.0, 4.4.0
>
>         Attachments: Phoenix-1781-v1.patch, Phoenix-1781.patch
>
>
> Phoenix currently supports current_date() that returns a timestamp. 
> From Oracle doc:
> NOW()                     A timestamp value representing the current date and time
> Many customers use Now() for current timestamp and curDate() for current Date. Will implement Now() similar to Phoenix current_date() so that customers do not need to change their queries. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)