[
https://issues.apache.org/jira/browse/CALCITE-7273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035725#comment-18035725
]
Caican Cai commented on CALCITE-7273:
-------------------------------------
[~mbudiu]Thank you for raising this question, so we won't address this issue
completely in this PR, but will instead skip it for now?
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)