CuiYanxiang opened a new pull request, #19054:
URL: https://github.com/apache/iceberg/pull/19054

   replaceTransaction() probes viewExists() before staging a replacement, but 
viewExists() only catches NoSuchViewException. Under table-only permissions the 
view HEAD endpoint returns 403 and the ForbiddenException propagates, failing 
CREATE OR REPLACE TABLE even with full table rights.
   
   Catch ForbiddenException from the probe and proceed; if a view with the same 
name exists, the server rejects the replacement at commit time.
   
   Closes #18662


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