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


   ### What changes were proposed in this pull request?
   Places DEBUG logging information after every major transformation step of 
the CBO planner.
   
   ### Why are the changes needed?
   
   More DEBUG info and overcomes the following shortcomings:
   
   1. If there is a failure (exception) in some transformation step
   intermediate plans are lost, thus losing track of which plan led to the
   problem.
   2. Intermediate logs are useful for identifying plan problems while
   working on a patch; unfortunately the logs are explicitly disabled in
   test mode which means that in order to appear the respective code needs
   to change every time we need to see those logs.
   3. Logging at the end necessitates keeping additional local variables
   which makes the code slightly harder to read.
   
   ### Does this PR introduce _any_ user-facing change?
   DEBUG logs are slightly different.
   
   ### How was this patch tested?
   No need for tests.


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