[
https://issues.apache.org/jira/browse/CALCITE-7646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7646.
----------------------------------
Fix Version/s: 1.43.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/e6265a318ee943e5b4a79cb617db7b47422d6123]
Thank you for your reviews [~zabetak] [~xuzifu666]
> CorrelateProjectExtractor does not handle nested field accesses
> cor0.field0.field1
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-7646
> URL: https://issues.apache.org/jira/browse/CALCITE-7646
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.43.0
>
>
> The decorrelator has a helper class called CorrelateProjectExtractor which
> moves projections from the right side of a Correlate to the left side.
> However, the helper ignores nested field accesses, assuming incorrectly that
> any field access is an input field access. Such expressions should also be
> moved to the left side.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)