[
https://issues.apache.org/jira/browse/CALCITE-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7585.
----------------------------------
Fix Version/s: 1.43.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/fc9af0751c649b3055a780d7d47ddc94b33c4138]
Thank you for the review [~dmsysolyatin]
Thank you for the contribution [~zzwqqq]
> SqlMerge 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.43.0
>
>
> 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)