[ https://issues.apache.org/jira/browse/CALCITE-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811287#comment-17811287 ]
Caican Cai commented on CALCITE-6224: ------------------------------------- thank you > Add LOG2 function (enabled in Mysql, Spark library) > --------------------------------------------------- > > 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)