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

Julian Hyde commented on CALCITE-6224:
--------------------------------------

Should be in SqlLibraryOperators, not SqlStdOperatorTable. Can you change the 
Jira subject to be consistent with similar functions.

> Add LOG2 function on SqlStdOperatorTable
> ----------------------------------------
>
>                 Key: CALCITE-6224
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6224
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.36.0
>            Reporter: Caican Cai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.37.0
>
>
> The log2 function is supported in many databases, such as spark, mysql, 
> postgres, etc.
> {code:java}
> > SELECT log2(2);
>  1.0 {code}
> links:
> [https://spark.apache.org/docs/3.4.0/api/sql/index.html#log2]
> https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html#function_log2



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

Reply via email to