You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "zzwqqq (Jira)" <ji...@apache.org> on 2026/06/05 08:14:00 UTC
[jira] [Created] (CALCITE-7585) MERGE may unparse EXISTS predicates in ON clause without parentheses
zzwqqq created CALCITE-7585:
-------------------------------
Summary: MERGE may unparse EXISTS predicates in ON clause without parentheses
Key: CALCITE-7585
URL: https://issues.apache.org/jira/browse/CALCITE-7585
Project: Calcite
Issue Type: Bug
Reporter: zzwqqq
Assignee: zzwqqq
https://github.com/apache/calcite/pull/4969 fixes unparsing of EXISTS subqueries in UPDATE and DELETE statements.
During review, it was pointed out that MERGE may have a similar problem because EXISTS predicates can appear in the ON clause.
This has not been fully confirmed yet. This issue is opened to track the potential MERGE case separately. If confirmed, MERGE should use the same parenthesized unparsing behavior and include regression tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)