You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Biman54 (via GitHub)" <gi...@apache.org> on 2025/07/21 13:47:46 UTC
[I] Add support for renaming branches and tags [iceberg]
Biman54 opened a new issue, #13615:
URL: https://github.com/apache/iceberg/issues/13615
### Feature Request / Improvement
Add support for renaming branches and tags directly, instead of requiring users to create a new branch or tag with the desired name and then delete the old one. This would simplify workflows and reduce the risk of errors during manual renaming.
### Query engine
Spark
### Willingness to contribute
- [ ] I can contribute this improvement/feature independently
- [x] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add support for renaming branches and tags [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13615:
URL: https://github.com/apache/iceberg/issues/13615#issuecomment-3770516540
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add support for renaming branches and tags [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13615: Add support for renaming branches and tags
URL: https://github.com/apache/iceberg/issues/13615
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add support for renaming branches and tags [iceberg]
Posted by "Biman54 (via GitHub)" <gi...@apache.org>.
Biman54 commented on issue #13615:
URL: https://github.com/apache/iceberg/issues/13615#issuecomment-3096872563
🔄 Renaming a Tag
To rename a tag, you can follow these steps:
Create a new tag at the current snapshot:
sql
Copy
Edit
ALTER TABLE prod.db.sample CREATE TAG new_tag;
Drop the old tag:
sql
Copy
Edit
ALTER TABLE prod.db.sample DROP TAG old_tag;
This process effectively "renames" the tag by creating a new one and removing the old one.
🌿 Renaming a Branch
Similarly, to rename a branch:
Create a new branch at the current snapshot:
sql
Copy
Edit
ALTER TABLE prod.db.sample CREATE BRANCH new_branch;
Drop the old branch:
AWS Documentation
+1
Apache Iceberg
+1
sql
Copy
Edit
ALTER TABLE prod.db.sample DROP BRANCH old_branch;
This sequence creates a new branch and removes the old one, effectively renaming it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add support for renaming branches and tags [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13615:
URL: https://github.com/apache/iceberg/issues/13615#issuecomment-3838000323
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Add support for renaming branches and tags [iceberg]
Posted by "Elbehery (via GitHub)" <gi...@apache.org>.
Elbehery commented on issue #13615:
URL: https://github.com/apache/iceberg/issues/13615#issuecomment-3109072476
Anyone is assigned to this ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org