You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2015/12/22 09:21:46 UTC

[jira] [Commented] (HIVE-12728) Apply DDL restrictions for ORC schema evolution

    [ https://issues.apache.org/jira/browse/HIVE-12728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067738#comment-15067738 ] 

Prasanth Jayachandran commented on HIVE-12728:
----------------------------------------------

[~mmccline] Could you please review the patch?

> Apply DDL restrictions for ORC schema evolution
> -----------------------------------------------
>
>                 Key: HIVE-12728
>                 URL: https://issues.apache.org/jira/browse/HIVE-12728
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Critical
>         Attachments: HIVE-12728.1.patch
>
>
> HIVE-11981 added schema evolution for ORC. However, it does not enforce any restrictions in DDL that can break schema evolution. Following changes have to be enforced in DDL to support the assumptions in schema evolution (that columns will only be added).
> 1) Restrict changing the file format of the table
> 2) Restrict changing the serde of the table
> 3) Restrict replacing columns
> 4) Restrict reordering columns
> 5) Restrict unsupported type promotions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)