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

[jira] [Assigned] (HIVE-25938) Print excluded rules from CBO

     [ https://issues.apache.org/jira/browse/HIVE-25938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Solimando reassigned HIVE-25938:
-------------------------------------------

    Assignee: Alessandro Solimando

> Print excluded rules from CBO
> -----------------------------
>
>                 Key: HIVE-25938
>                 URL: https://issues.apache.org/jira/browse/HIVE-25938
>             Project: Hive
>          Issue Type: Improvement
>          Components: CBO
>    Affects Versions: 4.0.0
>            Reporter: Alessandro Solimando
>            Assignee: Alessandro Solimando
>            Priority: Major
>
> HIVE-25880 introduced a configuration parameter for excluding CBO rules based on a regex on their description.
> Calcite logs when a rule is excluded (see [AbstractRelOptPlanner.java#L316|https://github.com/apache/calcite/blob/e42b85a45bd16dd58db1546736e653deda5463fe/core/src/main/java/org/apache/calcite/plan/AbstractRelOptPlanner.java#L316] and [VolcanoRuleCall.java#L169|https://github.com/apache/calcite/blob/e42b85a45bd16dd58db1546736e653deda5463fe/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoRuleCall.java#L169]).
> To ease investigations, this should be complemented by printing the regex used (if not blank) in Hive DEBUG logs, and the same in CBO information (i.e., EXPLAIN CBO's output).



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