You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Ozerov (Jira)" <ji...@apache.org> on 2022/01/09 17:35:00 UTC

[jira] [Created] (CALCITE-4978) Allow custom constant map in RelOptPredicateList

Vladimir Ozerov created CALCITE-4978:
----------------------------------------

             Summary: 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


{{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)