You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/15 23:01:00 UTC

[jira] [Updated] (CALCITE-4340) Correlated Queries in ON clause do not work when referring to left side

     [ https://issues.apache.org/jira/browse/CALCITE-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-4340:
------------------------------------
    Labels: pull-request-available  (was: )

> Correlated Queries in ON clause do not work when referring to left side
> -----------------------------------------------------------------------
>
>                 Key: CALCITE-4340
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4340
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: James Starr
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Changes from CALCITE-4210 does not robustly support correlated queries in ON clauses.  
> For the short term I am going revert the logic for supporting ON clause and throw an exception when correlated queries occur in ON clause.
> Then I will follow up with a fix that will support single subqueries in on clauses.  This will require fixing the offset in Blackboard.register, correctly detect if correlated variable is on the being used and adding a rule RelDecorrelator joined decorrelations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)