Stamatis Zampetakis created HIVE-24756:
------------------------------------------
Summary: Refactor CBO rules to exploit the new RelRule interface
Key: HIVE-24756
URL: https://issues.apache.org/jira/browse/HIVE-24756
Project: Hive
Issue Type: Improvement
Reporter: Stamatis Zampetakis
Calcite 1.25.0 introduced a new API, {{RelRule,}} for creating optimizer rules.
Parts of the old API, {{RelOptRule}} are deprecated and it will be removed
entirely in a future version. Along with the new API there were various changes
on the way that default optimizer rules are created providing more fine grained
configuration.
For the reasons above Hive CBO rules should be revisited to exploit those
changes. The refactoring may allow some custom rule classes to be removed
entirely and also it will be necessary to do so when {{RelOptRule}} interface
is removed completely.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)