[ 
https://issues.apache.org/jira/browse/SPARK-14132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Or updated SPARK-14132:
------------------------------
    Description: 
For alter column command, we have the following tokens.
TOK_ALTERTABLE_ADDPARTS
TOK_ALTERTABLE_DROPPARTS
TOK_MSCK
TOK_ALTERTABLE_ARCHIVE/TOK_ALTERTABLE_UNARCHIVE

For data source tables, we should throw exceptions.

For Hive tables, we should support add and drop partitions. For now, it should 
be fine to throw an exception for the rest.

  was:
For alter column command, we have the following tokens.
TOK_ALTERTABLE_ADDPARTS
TOK_ALTERTABLE_DROPPARTS
TOK_MSCK
TOK_ALTERTABLE_ARCHIVE/TOK_ALTERTABLE_UNARCHIVE

For data source tables, we should throw exceptions.

For Hive tables, we should support them. For now, it should be fine to throw an 
exception for TOK_ALTERTABLE_ARCHIVE/TOK_ALTERTABLE_UNARCHIVE.


> [Table related commands] Alter partition
> ----------------------------------------
>
>                 Key: SPARK-14132
>                 URL: https://issues.apache.org/jira/browse/SPARK-14132
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Yin Huai
>            Assignee: Andrew Or
>
> For alter column command, we have the following tokens.
> TOK_ALTERTABLE_ADDPARTS
> TOK_ALTERTABLE_DROPPARTS
> TOK_MSCK
> TOK_ALTERTABLE_ARCHIVE/TOK_ALTERTABLE_UNARCHIVE
> For data source tables, we should throw exceptions.
> For Hive tables, we should support add and drop partitions. For now, it 
> should be fine to throw an exception for the rest.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to