Alessandro Solimando created HIVE-25938: -------------------------------------------
Summary: Print in EXPLAIN CBO which rules are excluded from planning Key: HIVE-25938 URL: https://issues.apache.org/jira/browse/HIVE-25938 Project: Hive Issue Type: Bug Components: CBO Affects Versions: 4.0.0 Reporter: Alessandro Solimando 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)