Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6224

Add LOG2 function (enabled in Mysql, Spark library)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.36.0
    • 1.37.0
    • core

    Description

      The log2 function is supported in many databases, such as spark, mysql, postgres, etc.

      > SELECT log2(2);
       1.0 

      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

      Attachments

        Activity

          People

            caicancai Caican Cai
            caicancai Caican Cai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: