[
https://issues.apache.org/jira/browse/SPARK-34143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-34143.
---------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 31216
[https://github.com/apache/spark/pull/31216]
> 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
> Assignee: Maxim Gekk
> Priority: Major
> Fix For: 3.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]