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

[jira] [Updated] (SPARK-14130) [Table related commands] Alter column

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

Yin Huai updated SPARK-14130:
-----------------------------
    Description: 
For alter column command, we have the following tokens.
TOK_ALTERTABLE_RENAMECOL
TOK_ALTERTABLE_ADDCOLS
TOK_ALTERTABLE_REPLACECOLS

For data source tables, we should throw exceptions. For Hive tables, we should support them. *For Hive tables, we should check Hive's behavior because for a file format, it may not support all of above commands*. 


  was:
For alter column command, we have the following tokens.
TOK_ALTERTABLE_RENAMECOL
TOK_ALTERTABLE_ADDCOLS
TOK_ALTERTABLE_REPLACECOLS

For data source tables, we should throw exceptions. For Hive tables, we should support them.



> [Table related commands] Alter column
> -------------------------------------
>
>                 Key: SPARK-14130
>                 URL: https://issues.apache.org/jira/browse/SPARK-14130
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Yin Huai
>
> For alter column command, we have the following tokens.
> TOK_ALTERTABLE_RENAMECOL
> TOK_ALTERTABLE_ADDCOLS
> TOK_ALTERTABLE_REPLACECOLS
> For data source tables, we should throw exceptions. For Hive tables, we should support them. *For Hive tables, we should check Hive's behavior because for a file format, it may not support all of above commands*. 



--
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