[
https://issues.apache.org/jira/browse/CALCITE-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanner Clary updated CALCITE-5565:
----------------------------------
Description:
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]
was:
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]
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)