Mihai Budiu created CALCITE-7273:
------------------------------------

             Summary: CoreRules.JOIN_REDUCE_EXPRESSIONS throws when applied to 
an ASOF JOIN
                 Key: CALCITE-7273
                 URL: https://issues.apache.org/jira/browse/CALCITE-7273
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.41.0
            Reporter: Mihai Budiu
            Assignee: Mihai Budiu


The rule calls join.copy() for an ASOF JOIN, which throws.
(This happens because LogicalAsofJoin extends LogicalJoin, but cannot implement 
the same copy method, which needs more arguments to accomodate the match 
condition).
The rule should treat ASOF joins specially or just skip optimizing them.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to