You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "James Duong (Jira)" <ji...@apache.org> on 2024/04/11 22:59:00 UTC

[jira] [Comment Edited] (CALCITE-6313) Add POWER (enabled in Postgres library)

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

James Duong edited comment on CALCITE-6313 at 4/11/24 10:58 PM:
----------------------------------------------------------------

You can have multiple SqlOperator objects that map to the same name and provide each with a different signature. Then enable them based on the Library.


was (Author: jduong):
You can have multiple SqlOperator objects that map to the same name and provide each with a different signature. Then enable them based on the dialect.

> Add POWER (enabled in Postgres library)
> ---------------------------------------
>
>                 Key: CALCITE-6313
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6313
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: James Duong
>            Assignee: Norman Jordan
>            Priority: Minor
>
> * Our existing implementation always returns double.
>  * PostgreSQL allows returning a numeric instead of a double when inputs are numeric. Not sure if this makes sense though.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)