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

Add configuration option to exclude rules by a regex on their description

    XMLWordPrintableJSON

Details

    Description

      Introduce a configuration option to exclude rules via a regex on the rule description, based on Calcite's org.apache.calcite.plan.AbstractRelOptPlanner#setRuleDescExclusionFilter.

      The motivation is to provide a quick workaround when one or more rules are causing issues at planning time, without code changes.

      Another use would be to quickly experiment on the impact of disabling one or more rules on the compute plan.

      An example of configuration would be as follows:

      set hive.cbo.rule.exclusion.regex=HiveJoinPushTransitivePredicatesRule|HivePreFilteringRule;
      

      The above configuration setting would exclude from planning both HiveJoinPushTransitivePredicatesRule and HivePreFilteringRule rules.

      Attachments

        Issue Links

          Activity

            People

              asolimando Alessandro Solimando
              asolimando Alessandro Solimando
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m