You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2020/02/10 18:58:00 UTC
[jira] [Commented] (CALCITE-3781) HintStrategy can specify excluded
rules for planner
[ https://issues.apache.org/jira/browse/CALCITE-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033856#comment-17033856 ]
Julian Hyde commented on CALCITE-3781:
--------------------------------------
It seems a bit strange to have the planner exclude rules based on the {{rels[0]}} of the match.
Do you think it would be more natural for the rule match or rule call to make the decision? It can see all of the rels, not just {{rels[0]}}.
Also, would some rules be excluded outright due to the presence of certain hints? If so, they could be removed from the program before planning even starts.
> HintStrategy can specify excluded rules for planner
> ---------------------------------------------------
>
> Key: CALCITE-3781
> URL: https://issues.apache.org/jira/browse/CALCITE-3781
> Project: Calcite
> Issue Type: Sub-task
> Components: core
> Affects Versions: 1.21.0
> Reporter: Danny Chen
> Assignee: Danny Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It is efficient to support exclude rules explicitly for some hints, i.e. USE_MERGE, NO_USE_HASH.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)