rubenada commented on code in PR #2829:
URL: https://github.com/apache/calcite/pull/2829#discussion_r895414190


##########
core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java:
##########
@@ -1595,6 +1590,7 @@ static Map<Integer, Integer> identityMap(int count) {
   Frame register(RelNode rel, RelNode newRel,
       Map<Integer, Integer> oldToNewOutputs,
       NavigableMap<CorDef, Integer> corDefOutputs) {
+    newRel = RelOptUtil.copyRelHints(rel, newRel);

Review Comment:
   Thanks for the feedback @danny0405 , I agree.
   The current patch was just a quick fix to avoid a regression in the imminent 
release. I have created a follow-up ticket 
(https://issues.apache.org/jira/browse/CALCITE-5188) where we can discuss more 
long-term solutions, like the one you propose.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to