Zouxxyy opened a new pull request, #7334:
URL: https://github.com/apache/paimon/pull/7334
<!-- Please specify the module before the PR name: [core] ... or [flink] ...
-->
### Purpose
Fix this
```sql
MERGE INTO target tgt
USING (
SELECT a, b
FROM source
WHERE c = 'c11'
) AS src
ON tgt.a = src.a AND tgt.b = src.b AND tgt.c = 'cc'
WHEN MATCHED THEN DELETE
```
```
Column '_left.__paimon_file_path' does not exist. Did you mean one of the
following? [_left.a, _left.b, _left.c, src.a, src.b]; line 2 pos 0;
'Project ['_left.__paimon_file_path]
+- Join Inner, (((a#56 = a#59) AND (b#57 = b#60)) AND (c#58 = cc))
:- SubqueryAlias _left
: +- Filter (c#58 = cc)
: +- SubqueryAlias tgt
: +- SubqueryAlias paimon.test.target
: +- RelationV2[a#56, b#57, c#58] test.target
+- SubqueryAlias src
+- Project [a#59, b#60]
+- Filter (c#61 = c11)
+- SubqueryAlias paimon.test.source
+- RelationV2[a#59, b#60, c#61] test.source
```
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
### Generative AI tooling
<!--
If generative AI tooling has been used in the process of authoring this
patch, please include the
phrase: 'Generated-by: ' followed by the name of the tool and its version.
If no, write 'No'.
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
-->
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]