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

Mithun Radhakrishnan commented on HCATALOG-560:
-----------------------------------------------

Review-link: https://reviews.apache.org/r/8357/
                
> HCatClient should support addition of new columns to a Table.
> -------------------------------------------------------------
>
>                 Key: HCATALOG-560
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-560
>             Project: HCatalog
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.4.1
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>             Fix For: 0.5, 0.4.1
>
>         Attachments: HCATALOG-560.branch4.patch, HCATALOG-560.trunk.patch
>
>
> HCatClient currently doesn't support the modification of a Table schema to 
> support new columns. (The equivalent of "ALTER TABLE ... ADD COLUMN(...)".)
> This is required by systems that need to support evolving data-schemas. If 
> one considers the simplified case of only appending columns to the end of a 
> table's schema-definition, it should be easy to provide and implement the 
> following API in terms of HMSClient::alter_table():
> {{public void appendColumnsToTable(String db, String table, 
> List<HCatFieldSchema> newColumns) throws HCatException;}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to