[
https://issues.apache.org/jira/browse/CALCITE-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haisheng Yuan resolved CALCITE-3403.
------------------------------------
Fix Version/s: 1.22.0
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/3cbbafa941128dc5097c2a26711f5751f764e12d.
> WindowReduceExpressionsRule does not reuse RelMetadataQuery
> -----------------------------------------------------------
>
> Key: CALCITE-3403
> URL: https://issues.apache.org/jira/browse/CALCITE-3403
> Project: Calcite
> Issue Type: Improvement
> Reporter: Haisheng Yuan
> Assignee: jin xing
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> It creates a new RelMetadataQuery instance, which is a fresh RelMetadataQuery
> without any data cache. We should get RelMetadataQuery from RelOptRuleCall to
> reuse cache as much as possible.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)