Skip to content

Can't add column with the same name as a deleted and previously partitioned key column #10487

Description

@madeirak

Apache Iceberg version

1.4.3

Query engine

Spark

Please describe the bug 🐞

  1. column d is also a partition field
    image

  2. delete column d
    ALTER TABLE test_p DROP partition field d;
    ALTER TABLE test_p DROP COLUMN d;
    image

  3. add column d;
    image

why i got this exception, and what should i do ??

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions