You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2022/10/11 14:46:07 UTC

[GitHub] [calcite] Aitozi commented on a diff in pull request #2901: [CALCITE-5264] Apply hint exclusion check for all rels in the RelOptCall

Aitozi commented on code in PR #2901:
URL: https://github.com/apache/calcite/pull/2901#discussion_r992425797


##########
core/src/main/java/org/apache/calcite/plan/RelOptRuleCall.java:
##########
@@ -201,13 +201,18 @@ public RelOptPlanner getPlanner() {
    * @return true iff rule should be excluded
    */
   public boolean isRuleExcluded() {
-    if (!(rels[0] instanceof Hintable)) {
-      return false;
+    boolean excluded = false;

Review Comment:
   Good catch! Removed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org