You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "ArnavBalyan (via GitHub)" <gi...@apache.org> on 2026/08/10 05:33:26 UTC

[PR] [spark] Prevent table deletion for self referencing RTAS [paimon]

ArnavBalyan opened a new pull request, #9139:
URL: https://github.com/apache/paimon/pull/9139

   ### Purpose
   - A self referencing replace table on an existing table fails the query and accidentally performs a data drop.
   - This is because Spark drops the table before evaluating the query. The query always fails while reading the deleted manifest leading to original table being lost permanently.
    - Add guard to ensure this operation does not happen for partitioned table rtas and we can avoid data loss.
   
   ### Tests
    - UT


-- 
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: issues-unsubscribe@paimon.apache.org

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


Re: [PR] [spark] Prevent table deletion for self referencing RTAS [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #9139:
URL: https://github.com/apache/paimon/pull/9139


-- 
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: issues-unsubscribe@paimon.apache.org

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


Re: [PR] [spark] Prevent table deletion for self referencing RTAS [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #9139:
URL: https://github.com/apache/paimon/pull/9139#issuecomment-5281590830

   +1


-- 
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: issues-unsubscribe@paimon.apache.org

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