You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ofirNakdai (via GitHub)" <gi...@apache.org> on 2024/11/12 15:45:44 UTC
[I] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
ofirNakdai opened a new issue, #11524:
URL: https://github.com/apache/iceberg/issues/11524
### Apache Iceberg version
1.5.0
### Query engine
Trino
### Please describe the bug ๐
## Description
When using the `CREATE OR REPLACE` command in Apache Iceberg with the REST catalog after a table has already been created, itโs not possible to revert to a version prior to the `CREATE OR REPLACE` command. This issue has been observed when using both Trino and Spark as execution engines.
## Steps to Reproduce
1. Set up a table using the REST catalog.
2. Create an Iceberg table and add some data, making several commits.
3. Execute a `CREATE OR REPLACE` statement on the table.
4. Attempt to roll back to a version from before the `CREATE OR REPLACE` command.
## Expected Behavior
It should be possible to roll back to any previous version of the table, including versions created before the `CREATE OR REPLACE` operation.
## Actual Behavior
After the `CREATE OR REPLACE` operation, all previous versions from before this command are inaccessible, blocking rollbacks to earlier states.
## Environment
- **Apache Iceberg Version**: 1.5.0
- **Execution Engines Tested**: Trino-464, Spark 3.5.1
- **Catalog Type**: REST catalog
- **Storage**: S3-compatible
## Additional Context
This bug occurs specifically when using the REST catalog. The issue persists across both Trino and Spark, suggesting it may be specific to how the REST catalog handles versioning with `CREATE OR REPLACE`.
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [X] 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
--
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] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
Posted by "mayankvadariya (via GitHub)" <gi...@apache.org>.
mayankvadariya commented on issue #11524:
URL: https://github.com/apache/iceberg/issues/11524#issuecomment-2761445464
@ofirNakdai are you possibly hitting https://github.com/trinodb/trino/discussions/24056 ?
--
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] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on issue #11524:
URL: https://github.com/apache/iceberg/issues/11524#issuecomment-2760001448
@ofirNakdai @alonahmias I can't reproduce the issue with Trino 474 (Iceberg 1.8.1). Could you try the latest version?
--
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] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
Posted by "alonahmias (via GitHub)" <gi...@apache.org>.
alonahmias commented on issue #11524:
URL: https://github.com/apache/iceberg/issues/11524#issuecomment-2518719110
Hey, i have encountered this issue too.
--
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] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #11524: Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog
URL: https://github.com/apache/iceberg/issues/11524
--
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] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11524:
URL: https://github.com/apache/iceberg/issues/11524#issuecomment-3331142826
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] Unable to Roll Back to Previous Version After CREATE OR REPLACE with REST Catalog [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11524:
URL: https://github.com/apache/iceberg/issues/11524#issuecomment-3383626001
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