You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2026/07/21 08:29:00 UTC
[jira] [Resolved] (CALCITE-7659) Add AggregateCall#withFunction API
[ https://issues.apache.org/jira/browse/CALCITE-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruben Q L resolved CALCITE-7659.
--------------------------------
Resolution: Fixed
Done via [{{8bd3026}}|https://github.com/apache/calcite/commit/8bd302692e22f01469068a2046aec7abc092caba]
> 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
> Fix For: 1.43.0
>
>
> 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)