You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2024/07/19 21:15:00 UTC

[jira] [Resolved] (CALCITE-6312) Add LOG function (enabled in PostgreSQL library)

     [ https://issues.apache.org/jira/browse/CALCITE-6312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Budiu resolved CALCITE-6312.
----------------------------------
    Fix Version/s: 1.38.0
       Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/82a3219e1bc8ffac9bbd20be3dc8c11f3882ba50
Thank you [~caicancai] for the contribution!

> Add LOG function (enabled in PostgreSQL library)
> ------------------------------------------------
>
>                 Key: CALCITE-6312
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6312
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: James Duong
>            Assignee: Caican Cai
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> * We have the BigQuery implementation which has a 1-arg overload that uses base e (ln), and a 2-arg overload which is LOG(value, base)
>  * PostgreSQL's 1-arg version uses base 10 and the 2-arg overload has the order reversed – LOG(base, value)



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