Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks
madeirak opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@madeirak
Copy link

madeirak commented Dec 12, 2024

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
@madeirak madeirak added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant