zabetak opened a new pull request, #6118: URL: https://github.com/apache/hive/pull/6118
### What changes were proposed in this pull request? 1. Extract `PlanModifierForASTConv` outside of `ASTConverter` and apply it explicitly in `CalcitePlanner` 2. Inline `getOptimizedAST` since now it becomes a trivial call 3. Remove unused variant of `getOptimizedAST` ### Why are the changes needed? 1. Display **all** `PlanModifierForASTConv` effects in `EXPLAIN CBO` output 2. Improve diagnosability by getting the final CBO plan with all transformations ### Does this PR introduce _any_ user-facing change? The output of `EXPLAIN CBO` changes slightly but there is no effect in correctness/performance cause the plan remains the same. ### How was this patch tested? Existing 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. 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]
