[
https://issues.apache.org/jira/browse/CALCITE-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-3812:
------------------------------------
Labels: pull-request-available (was: )
> Refactor HintStrategy to HintPredicate
> --------------------------------------
>
> Key: CALCITE-3812
> URL: https://issues.apache.org/jira/browse/CALCITE-3812
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.22.0
> Reporter: Danny Chen
> Assignee: Danny Chen
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.22.0
>
>
> The HintStrategy was introduced in commit
> https://github.com/apache/calcite/commit/52bc246d5e07510689635f407f4d9dc494b0af4d,
> at that moment, we can only define the hint match rules for propagation, and
> the class name is okey.
> But with more components added to the HintStrategyTable(i.e. the
> HintOptionChecker, the error hander, the excluded rules), i found the
> "HintStrategy" is mis-leading.
> So i propose to rename HintStrategy to HintPredicate and
> HintStrategyTable.Entry to HintStrategy.
> I want this change to be included in 1.22.0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)