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/01/17 10:32:00 UTC
[jira] [Assigned] (SPARK-34143) Adding partitions to fully
partitioned v2 table
[ https://issues.apache.org/jira/browse/SPARK-34143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-34143:
------------------------------------
Assignee: (was: Apache Spark)
> Adding partitions to fully partitioned v2 table
> -----------------------------------------------
>
> Key: SPARK-34143
> URL: https://issues.apache.org/jira/browse/SPARK-34143
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Maxim Gekk
> Priority: Major
>
> The test below fails:
> {code:scala}
> withNamespaceAndTable("ns", "tbl") { t =>
> sql(s"CREATE TABLE $t (p0 INT, p1 STRING) $defaultUsing PARTITIONED BY (p0, p1)")
> sql(s"ALTER TABLE $t ADD PARTITION (p0 = 0, p1 = 'abc')")
> checkPartitions(t, Map("p0" -> "0", "p1" -> "abc"))
> checkAnswer(sql(s"SELECT * FROM $t"), Row(0, "abc"))
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org