You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/11/24 10:38:00 UTC
[jira] [Assigned] (SPARK-37452) Char and Varchar breaks backward compatibility between v3 and v2
[ https://issues.apache.org/jira/browse/SPARK-37452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-37452:
------------------------------------
Assignee: Apache Spark
> Char and Varchar breaks backward compatibility between v3 and v2
> ----------------------------------------------------------------
>
> Key: SPARK-37452
> URL: https://issues.apache.org/jira/browse/SPARK-37452
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.1.2, 3.2.0
> Reporter: Kent Yao
> Assignee: Apache Spark
> Priority: Major
>
> We will store table schema in table properties for the read-side to restore. In Spark 3.1, we add char/varchar support natively. In some commands like `create table`, `alter table` with these types, the char(n) or varchar(n) will be stored directly to those properties. If a user uses Spark 2 to read such a table it will fail to parse the schema.
> A table can be a newly created one by Spark 3.1 and later or an existing one modified by Spark 3.1 and on.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org