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)

Reply via email to