zabetak opened a new pull request #2887:
URL: https://github.com/apache/hive/pull/2887


   ### What changes were proposed in this pull request?
   Add new listener to the CBO planner to log the plan produced after a rule 
invocation
   
   ### Why are the changes needed?
   Greatly, facilitates debugging of problems in rule invocations.
   
   ### Does this PR introduce _any_ user-facing change?
   No, unless they change their logging configuration.
   
   ### How was this patch tested?
   Manual tests:
   1. `mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=cbo_join.q`
   2. Inspect `target/tmp/log/hive.log`
   3. Modify `hive-log4j2.properties`
   4. Repeat


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

Reply via email to