[
https://issues.apache.org/jira/browse/CALCITE-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chen resolved CALCITE-3649.
---------------------------------
Resolution: Fixed
Fixed in
[a54cb0a|https://github.com/apache/calcite/commit/a54cb0a587c32e002ba21b8dba2ceab24cade087]
!
> Hints should be propagated correctly in planner rules if original node is
> transformed to different kind
> -------------------------------------------------------------------------------------------------------
>
> Key: CALCITE-3649
> URL: https://issues.apache.org/jira/browse/CALCITE-3649
> Project: Calcite
> Issue Type: Sub-task
> Components: core
> Affects Versions: 1.21.0
> Reporter: Danny Chen
> Assignee: Danny Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> If the AGG was transformed to PROJECT + AGG, the hints of AGG should be
> propagated to the AGG node.
> In current implementation, the hints would lost.
> The perfect solution is to identify the replaced sub-tree, and for this tree,
> we should check which node is the right one to attach hints. But for this
> patch, we only consider the new transformed node with pattern of PROJECT +
> "node of same kind of original", this solves most of the cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)