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

Xiaochen Ouyang commented on SPARK-19474:
-----------------------------------------

ah, SPARK-19261 seems a duplicate of SPARK-18893. I think there is a diffrence 
synax between SPARK-19474 and SPARK-18893.
SPARK-18893 is requested to support synax : alter table add columns(col 
dataype...);  Add operation
SPARK-19474 is requested to support synax: alter table change col col_new 
datatype...; Modify operation.
I found somebody have done part of this function in SPARK-17910. I wonder that 
do we have a plan to support changing column's dataType and name later ? 

> SparkSQL unsupports  to change hive table's name\dataType
> ---------------------------------------------------------
>
>                 Key: SPARK-19474
>                 URL: https://issues.apache.org/jira/browse/SPARK-19474
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0, 2.0.1
>         Environment: Spark2.0.1
>            Reporter: Xiaochen Ouyang
>
> After creating a hive table, it will be not allowed to  change a column's 
> date type or name. It will be useful to provide a public interface (e.g. SQL) 
> to do that. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to