You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2019/06/04 06:52:00 UTC

[jira] [Resolved] (SPARK-27926) Allow altering table add columns with CSVFileFormat/JsonFileFormat provider

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

Xiao Li resolved SPARK-27926.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

> Allow altering table add columns with CSVFileFormat/JsonFileFormat provider
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-27926
>                 URL: https://issues.apache.org/jira/browse/SPARK-27926
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> In the previous work of csv/json migration, CSVFileFormat/JsonFileFormat is removed in the table provider whitelist of `AlterTableAddColumnsCommand.verifyAlterTableAddColumn`:
> https://github.com/apache/spark/pull/24005
> https://github.com/apache/spark/pull/24058
> This is regression. If a table is created with Provider `org.apache.spark.sql.execution.datasources.csv.CSVFileFormat` or `org.apache.spark.sql.execution.datasources.json.JsonFileFormat`, Spark should support the "alter table add column" operation.



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