[ 
https://issues.apache.org/jira/browse/HIVE-25328?focusedWorklogId=622496&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-622496
 ]

ASF GitHub Bot logged work on HIVE-25328:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jul/21 13:12
            Start Date: 14/Jul/21 13:12
    Worklog Time Spent: 10m 
      Work Description: 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]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 622496)
    Remaining Estimate: 0h
            Time Spent: 10m

> Limit scope of REPLACE COLUMNS for Iceberg tables
> -------------------------------------------------
>
>                 Key: HIVE-25328
>                 URL: https://issues.apache.org/jira/browse/HIVE-25328
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Marton Bod
>            Assignee: Marton Bod
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Replace columns is a rather wildcard operation which can do heavy-weight 
> schema changes. We would only want to allow this operation for dropping 
> columns for Iceberg tables. For other changes (adding cols, renaming, type 
> promotion etc.), we should use the CHANGE COLUMN command.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to