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

   ### Purpose
   Reject `ALTER TABLE ... SET LOCATION` for Paimon tables at Spark analysis 
time instead of letting the command silently pass through.
   This change adds a rule-level check in `PaimonAnalysis` for 
`SetTableLocation` when the resolved target is a Paimon `SparkTable`, and 
throws a clear unsupported-operation error:
   `ALTER TABLE ... SET LOCATION is not supported for Paimon tables.`
   ### Tests
   Added unit coverage in:
   
`paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/DDLTestBase.scala`


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

Reply via email to