iceberg: a couple fixes found working with Glue + Redshift#27188
Merged
andrwng merged 2 commits intoredpanda-data:devfrom Aug 11, 2025
Merged
iceberg: a couple fixes found working with Glue + Redshift#27188andrwng merged 2 commits intoredpanda-data:devfrom
andrwng merged 2 commits intoredpanda-data:devfrom
Conversation
Glue doesn't support the purge option when dropping tables, returning a
400 error immediately, even after the underlying table has been dropped:
```
WARN 2025-08-08 19:00:21,698 [shard 0:main] iceberg - catalog_client.cc:367 - [/iceberg/v1/catalogs/12345/namespaces/redpanda/tables/table?purgeRequested=true] error: http_call_error: Bad Request, message: '{"error":{"code":400,"message":"PurgeRequested cannot be true for Glue iceberg tables.","type":"InvalidInputException"}}'
```
When in this state, translation for this topic and all other topics of
the same name is stuck indefinitely, because when
redpanda.iceberg.delete is true, we will try to drop the table of older
versions of the topic before allowing creation of the new table.
This commit adds a stop-gap to at least be able to get unstuck by
manually deleting the table. When dropping, we'll first check if the
dropped table has been deleted already.
Redshift complains when using an null 'partitions' field in the manifest list: ``` ERROR: Wrong type in Avro file. Detail: ----------------------------------------------- error: Wrong type in Avro file. code: 15003 context: Field: partitions. Expected: 12. Got: 7 query: -1[child_sequence:1] location: avro_utils.hpp:55 process: padbmaster [pid=1073913955] ----------------------------------------------- [ErrorId: 1-68963282-20644b700a198f806702f6aa] ``` This fix has Redpanda serialize empty 'partitions' as an empty array. Tested manually against Glue and Redshift.
wdberkeley
approved these changes
Aug 8, 2025
rockwotj
approved these changes
Aug 8, 2025
Collaborator
Retry command for Build#70487please wait until all jobs are finished before running the slash command |
Collaborator
CI test resultstest results on build#70487
|
Collaborator
|
/backport v25.2.x |
Collaborator
|
/backport v25.1.x |
This was referenced Aug 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See individual commits.
We will need follow-up work to allow for topic deletion to not require manual intervention. This at least allows a cluster to become functional after the Iceberg topic has already been deleted.
Backports Required
Release Notes
Bug Fixes