[
https://issues.apache.org/jira/browse/CALCITE-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7659:
------------------------------------
Labels: pull-request-available (was: )
> Add AggregateCall#withFunction API
> ----------------------------------
>
> Key: CALCITE-7659
> URL: https://issues.apache.org/jira/browse/CALCITE-7659
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Stamatis Zampetakis
> Assignee: Ruben Q L
> Priority: Minor
> Labels: pull-request-available
>
> Add new method in AggregateCall that allows to copy the call and switch the
> underlying aggregate function while keeping all the rest of the properties
> intact.
> The main motivation comes from
> [Hive|https://github.com/apache/hive/blob/3c7f974eedb38b163ede80cc811e189673b6fbb3/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveAggregate.java#L77]
> where we want to replace a standard aggregate function with a Hive specific
> one.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)