[
https://issues.apache.org/jira/browse/CALCITE-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641715#comment-17641715
]
Julian Hyde commented on CALCITE-5404:
--------------------------------------
[~tanclary], In
[814ae6ec|https://github.com/apache/calcite/commit/814ae6ec09e72544ba010f2591e06020c55b162b]
I just added {{class SqlBasicFunction}} which has a {{withName}} method that
makes it easy to create a function as a copy of another function. Can you use
it for {{POW}} and {{TRUNCATE}}?
> 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)