[
https://issues.apache.org/jira/browse/CALCITE-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471977#comment-17471977
]
Stamatis Zampetakis commented on CALCITE-4978:
----------------------------------------------
Is there a type in the description? I don't see any constant derivation code in
{{RelOptPredicateList}}.
> 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)