[ https://issues.apache.org/jira/browse/PHOENIX-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614301#comment-15614301 ]
Maryann Xue commented on PHOENIX-3355: -------------------------------------- So [~lomoree], an easy way to do this is to return the CURRENT_DATE and FLOOR signatures for function name "NOW" or "TRUNC". I think Calcite does not require the returned signature to have the same name as used in the query. Only parameter types and return type matter in a ScalarFunction. > Register Phoenix built-in functions as Calcite functions > -------------------------------------------------------- > > Key: PHOENIX-3355 > URL: https://issues.apache.org/jira/browse/PHOENIX-3355 > Project: Phoenix > Issue Type: Bug > Reporter: James Taylor > Assignee: Eric Lomore > Labels: calcite > Attachments: PHOENIX-3355.wip, PHOENIX-3355.wip2 > > > We should register all Phoenix built-in functions that don't exist in Calcite. -- This message was sent by Atlassian JIRA (v6.3.4#6332)