marton-bod opened a new pull request #2475:
URL: https://github.com/apache/hive/pull/2475


   ### What changes were proposed in this pull request?
   Use `REPLACE COLUMNS` only for dropping one or more columns. If there's any 
column reorder, column rename, adding columns, changing column type or changing 
column comment, we throw an exception.
   
   ### Why are the changes needed?
   Limit the damage the user can do with this command :)
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, limitation of the REPLACE command (but only for Iceberg tables; Hive 
tables are unaffected).
   
   ### How was this patch tested?
   unit tests


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