You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2022/12/01 00:49:00 UTC

[jira] [Commented] (CALCITE-5404) Implement BigQuery's POW() and TRUNC() math functions

    [ https://issues.apache.org/jira/browse/CALCITE-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641601#comment-17641601 ] 

Julian Hyde commented on CALCITE-5404:
--------------------------------------

In reference.md, I think better descriptions are "Synonym for POWER" and "Synonym for TRUNCATE".

In {{SqlOperatorTest}}, can you find a way to tie {{testPowFunc}} to {{testPowerFunc}}, and {{testTruncfunc}} to {{testTruncate}} so that they don't drift during future maintenance. Copy-paste goes stale pretty quickly.

> Implement BigQuery's POW() and TRUNC() math functions
> -----------------------------------------------------
>
>                 Key: CALCITE-5404
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5404
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Tanner Clary
>            Assignee: Tanner Clary
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Add support for BigQuery's POW() and TRUNC() mathematical functions by mapping them to the existing implementations for POWER() and TRUNCATE() respectively.



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