[
https://issues.apache.org/jira/browse/CALCITE-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472344#comment-17472344
]
Julian Hyde commented on CALCITE-4978:
--------------------------------------
[~vozerov], Please take us through the use case again. Why is a list of
constants required? When was it introduced? What did we do before it was
introduced? Is {{RelOptPredicateList}} the best place to hold this list of
constants?
> Allow custom constant map in RelOptPredicateList
> ------------------------------------------------
>
> Key: CALCITE-4978
> URL: https://issues.apache.org/jira/browse/CALCITE-4978
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.29.0
> Reporter: Vladimir Ozerov
> Assignee: Vladimir Ozerov
> Priority: Minor
>
> {{RelOptPredicateList}} tries to infer constants from the predicates passed
> to the {{of(...)}} factory methods. However, the underlying mechanic is
> limited and handles only a small subset of possible constant derivation
> strategies. We may want to implement such strategies gradually (inference
> from AND/OR, ranges, etc.), but it might be a big effort.
> This ticket proposes a new factory method that allows users to pass custom
> constant maps.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)