Tanner Clary created CALCITE-5565: ------------------------------------- Summary: Implement BigQuery LOG function Key: CALCITE-5565 URL: https://issues.apache.org/jira/browse/CALCITE-5565 Project: Calcite Issue Type: Task Reporter: Tanner Clary Assignee: Tanner Clary
Calcite currently supports the {{LN}} and {{LOG10}} function. BigQuery offers the {{LOG}} function which allows for the base of the logarithm to be specified as a second argument. If the second argument is not provided, the base is defaulted to e (making it identical to the {{LN}} function. Example: {{LOG(64, 10)}} would return {{2}}. Example 2: {{LOG(10)}} would return the same as {{LN(10)}}. [BigQuery docs|https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#log] -- This message was sent by Atlassian Jira (v8.20.10#820010)