You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/01/03 04:58:00 UTC
[jira] [Resolved] (SPARK-26521) Sparksql cannot modify the field
name of a table
[ https://issues.apache.org/jira/browse/SPARK-26521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-26521.
-----------------------------------
Resolution: Duplicate
Hi, [~zengxl]. Thank you for reporting, but this duplicates SPARK-24602.
Please search JIRA issues before creating next time.
> Sparksql cannot modify the field name of a table
> ------------------------------------------------
>
> Key: SPARK-26521
> URL: https://issues.apache.org/jira/browse/SPARK-26521
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.3.1
> Reporter: zengxl
> Priority: Major
>
> When i alter table info use sparksql,throw excepiton
>
> alter table tmp.testchange change column i m string;
> *Error in query: ALTER TABLE CHANGE COLUMN is not supported for changing column 'i' with type 'StringType' to 'm' with type 'StringType';*
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org