Skip to content

Rename the partition field and add a field with the same name as the old partition field GOT ERROR #11762

Open
@madeirak

Description

@madeirak

Apache Iceberg version

1.4.3

Query engine

Spark

Please describe the bug 🐞

CREATE TABLE  db03.test_123 (
  id INT COMMENT '11',
  name STRING COMMENT ''
)USING iceberg
PARTITIONED BY (name1)
TBLPROPERTIES (
  'format-version' = '2'
)
  1. Rename the partition field alter table db03.test_123 rename column name to name1;
  2. Add a field with the same name as the old partition field alter table db03.test_123 add column name int;

then got error
image

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

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 working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions