jcamachor commented on a change in pull request #1002:
URL: https://github.com/apache/hive/pull/1002#discussion_r418784188



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
##########
@@ -2463,6 +2473,15 @@ private RelNode applyPostJoinOrderingTransform(RelNode 
basePlan, RelMetadataProv
                 HiveProjectSortExchangeTransposeRule.INSTANCE, 
HiveProjectMergeRule.INSTANCE);
       }
 
+      // 10. We need to expand IN/BETWEEN expressions when loading a 
materialized view

Review comment:
       This is call only when we are loading the materialized view in the 
registry so we can keep the plan in the correct form (IN and BETWEEN expanded) 
and we do not have to do it at compilation time.




----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to