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 2022/10/07 13:58:00 UTC

[jira] [Commented] (SPARK-40702) Confusing partition specs in PartitionsAlreadyExistException

    [ https://issues.apache.org/jira/browse/SPARK-40702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614088#comment-17614088 ] 

Apache Spark commented on SPARK-40702:
--------------------------------------

User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/38152

> Confusing partition specs in PartitionsAlreadyExistException
> ------------------------------------------------------------
>
>                 Key: SPARK-40702
>                 URL: https://issues.apache.org/jira/browse/SPARK-40702
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Max Gekk
>            Assignee: Max Gekk
>            Priority: Major
>
> The code below demonstrates the issue:
> ```
> > CREATE TABLE t (id bigint, data string) USING _ PARTITIONED BY (id);
> > ALTER TABLE t ADD PARTITION (id=2) LOCATION 'loc1';
> > ALTER TABLE t ADD PARTITION (id=1) LOCATION 'loc' PARTITION (id=2) LOCATION 'loc1';
> The following partitions already exists in table t:2 -> id
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org