Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24756

Refactor CBO rules to exploit the new RelRule interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: