[
https://issues.apache.org/jira/browse/CALCITE-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644475#comment-17644475
]
Tanner Clary commented on CALCITE-5404:
---------------------------------------
[~julianhyde] I am currently working on adding the changes you suggested
(apologies for the delay). I am trying to make use of SqlBasicFunction but am
finding that I run into a null pointer exception when trying to reference the
{{POWER}} StdOperator from {{SqlLibraryOperator}} for {{{}POW(){}}}. What is
the appropriate way to reference a standard operator from the library operator
table? My current attempt can be found
[here|[https://github.com/tanclary/calcite/commit/342bed47329dee9c382d5da3d49952a45bfaa689]]
here for more context.
> 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)