You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alessandro Solimando (Jira)" <ji...@apache.org> on 2022/01/19 18:11:00 UTC

[jira] [Created] (HIVE-25880) Configuration option to exclude rule by a regex on their description

Alessandro Solimando created HIVE-25880:
-------------------------------------------

             Summary: Configuration option to exclude rule by a regex on their description
                 Key: HIVE-25880
                 URL: https://issues.apache.org/jira/browse/HIVE-25880
             Project: Hive
          Issue Type: New Feature
          Components: CBO
    Affects Versions: 4.0.0
            Reporter: Alessandro Solimando
            Assignee: Alessandro Solimando


Introduce a configuration option to exclude rules via a regex on the rule description, based on Calcite's [org.apache.calcite.plan.AbstractRelOptPlanner#setRuleDescExclusionFilter|https://github.com/apache/calcite/blob/0065d7c179b98698f018f83b0af0845a6698fc54/core/src/main/java/org/apache/calcite/plan/AbstractRelOptPlanner.java#L186].

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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)