You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2020/06/08 23:51:00 UTC

[jira] [Updated] (CALCITE-4051) SESSION TVF Optimizations

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

Rui Wang updated CALCITE-4051:
------------------------------
    Summary: SESSION TVF Optimizations  (was: TVF Session Optimizations)

> SESSION TVF Optimizations
> -------------------------
>
>                 Key: CALCITE-4051
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4051
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Rui Wang
>            Priority: Major
>
> Current TVF Session has the following limitation:
> Use a "dummy" key to go through a GBK to compute window_start and window_end.
> This introduces an extra shuffle so it costs more.
> One optimizations we can do is always merge TableFunctionScanRel with AggregationRel, thus we can use only one GBK to compute both SESSION window_start and window_end, and aggregations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)