Aggarwal-Raghav commented on PR #6698:
URL: https://github.com/apache/hive/pull/6698#issuecomment-5292926048

   The new issue i found was for row lineage for MERGE WHEN DELETE query.
   ```sql
   MERGE INTO ice_cow_merge_delete_only t
   USING merge_source s
   ON t.id = s.id
   WHEN MATCHED THEN DELETE;
   ``` 
   **The following code doesn't check for merge when delete. it only checks for 
`hasWhenMatchedUpdateClause`**
   
https://github.com/apache/hive/blob/b88f9481fbc6ab1bc892607876d821f5a25ca396/ql/src/java/org/apache/hadoop/hive/ql/metadata/RowLineageUtils.java#L109-L114


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to