-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HIVE-25046: Log CBO plans right after major transformations (Stamatis…
… Zampetakis, reviewed by Jesus Camacho Rodriguez) Change to avoid 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. It also adds some additional logging which was not present at all before. Closes #2205
- Loading branch information
Showing
1 changed file
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters