You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2024/08/27 04:48:00 UTC

[jira] [Assigned] (CALCITE-4744) Defer windowed aggregation function expansion to the planning step

     [ https://issues.apache.org/jira/browse/CALCITE-4744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Budiu reassigned CALCITE-4744:
------------------------------------

    Assignee: Mihai Budiu

> Defer windowed aggregation function  expansion to the planning step
> -------------------------------------------------------------------
>
>                 Key: CALCITE-4744
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4744
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>            Reporter: keaton drebes
>            Assignee: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I have a project that is working with windowed functions and we want to avoid the expansion of certain aggregate functions (i.e. stddev) in the process of converting from an SqlNode to a RelNode. We have currently supported this by copying the entire  StandardConvertlet table, and removing the convertlets responsible for this.
> It seems the correct way to resolve this issue is to defer the expansion of aggregate functions until the planning step, then add a planner rule to enable/disable it.
>  



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