zabetak commented on a change in pull request #2887:
URL: https://github.com/apache/hive/pull/2887#discussion_r771826595
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
##########
@@ -2427,7 +2430,7 @@ protected RelNode executeProgram(RelNode basePlan,
HepProgram program,
// Create planner and copy context
HepPlanner planner = new HepPlanner(program,
basePlan.getCluster().getPlanner().getContext());
-
+ planner.addListener(new RuleEventLogger());
Review comment:
`RuleEventLogger` is using a different logger (not LOG) so cannot easily
put this check here. Moreover, the performance benefit is unclear so it might
be better to leave it is as is. WDYT?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]