Max Gekk created SPARK-40702:
--------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]