Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Consider the instances of HivePointLookupOptimizerRule (for joins, filters and projects).
They use the default constructor for RelOptRule, which builds the rule description from the class name, and in case of nested classes, it takes only the inner class name.
In this case, the names do not refer to HivePointLookupOptimizerRule and are too generic (e.g.,FilerCondition), it's hard to link them back to the rule they belong to without looking at the source code.
This is particularly problematic now that we have more detailed logging for CBO (see HIVE-25816), where rule descriptions are printed.
The aim of the PR is to improve the rule description by passing an explicit string whenever the rule (class) name alone is not enough.
Attachments
Issue Links
- relates to
-
HIVE-25816 Log CBO plan after rule application for debugging purposes
- Closed
- links to