You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "James Starr (Jira)" <ji...@apache.org> on 2020/10/15 20:50:00 UTC
[jira] [Created] (CALCITE-4340) Correlated Queries in ON clause do
not work when referring to left side
James Starr created CALCITE-4340:
------------------------------------
Summary: 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
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)