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

James Taylor commented on PHOENIX-3355:
---------------------------------------

Can we use the Calcite mechanism to define defaults instead of the current 
Phoenix mechanism? The getDataType method returns the return type of the 
function. Sometimes it depends on the input types, that's why it's not 
annotation based. Sometimes it's abstract, but not for an actual built-in, it 
sounded like Calcite has a similar mechanism.

> 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
>
>
> 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)

Reply via email to