You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2016/04/06 22:29:25 UTC

[jira] [Updated] (SPARK-14132) [Table related commands] Alter partition

     [ 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 them. For now, it should be fine to throw an exception for TOK_ALTERTABLE_ARCHIVE/TOK_ALTERTABLE_UNARCHIVE.

  was:
For alter column command, we have the following tokens.
TOK_ALTERTABLE_ADDPARTS
TOK_ALTERTABLE_DROPPARTS
TOK_ALTERTABLE_CLUSTER_SORT
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 them. For now, it should be fine to throw an exception for TOK_ALTERTABLE_ARCHIVE/TOK_ALTERTABLE_UNARCHIVE.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org