[ https://issues.apache.org/jira/browse/PHOENIX-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388179#comment-14388179 ]
James Taylor commented on PHOENIX-1781: --------------------------------------- You're right, [~ayingshu] - I forgot that we use that to find all built-in functions - would you mind adding a comment to the javadoc for the ExpressionType class to remind us? If you could still improve on the test a little bit as described above, that'd be good. Thanks for the contributions. > 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)