[
https://issues.apache.org/jira/browse/CALCITE-7273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7273.
----------------------------------
Fix Version/s: 1.42.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/c18c045aaba6151bdd4d7eda2ff0efae6b03cf56]
Thank you for your reviews [~caicancai] [~jensen]
> 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
> Fix For: 1.42.0
>
>
> 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)