You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "Dwrite (via GitHub)" <gi...@apache.org> on 2026/06/28 23:45:09 UTC

Re: [PR] [CALCITE-7505] RelToSqlConverter fails to alias outer relation for correlated sub-queries in Filter [calcite]

Dwrite commented on code in PR #5036:
URL: https://github.com/apache/calcite/pull/5036#discussion_r3488727074


##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -12324,4 +12324,29 @@ public Sql schema(CalciteAssert.SchemaSpec schemaSpec) {
     sql(query).withLibrary(SqlLibrary.HIVE).withHive().ok(expectedHive);
     sql(query).withLibrary(SqlLibrary.SPARK).withSpark().ok(expectedSpark);
   }
+
+  /** Test case for
+   * <a href="https://issues.apache.org/jira/browse/CALCITE-7505">[CALCITE-7505]
+   * RelToSqlConverter produces duplicate FROM aliases for correlated subqueries</a>. */
+  @Test void testExistsSubQueryAliasConflict() {

Review Comment:
   updated



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org