[
https://issues.apache.org/jira/browse/PHOENIX-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388119#comment-14388119
]
Alicia Ying Shu commented on PHOENIX-1781:
------------------------------------------
Have to add NowFunction to ExpressionType.java, otherwise got a syntax error.
Just like TruncFunction is also in ExpressionType.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
> Attachments: 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)