Danny Chen created CALCITE-3649:
-----------------------------------
Summary: 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
Fix For: 1.22.0
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)