Repository navigation
Conversation
Switch identityPartitionValue in table/arrow_scanner.go from github.com/google/uuid.UUID to iceberg.UUID. After apache#2766 changed iceberg.UUID to the Go 1.27 standard library uuid.UUID, apache#2487 broke Go 1.27 builds because google/uuid.UUID no longer satisfies iceberg.LiteralType. Signed-off-by: Harrison Crosse <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the UUID identity partition type fix.
No open issues 🎉
What changed in this PR
Fixes the UUID type mismatch in identity partition handling after the Go 1.27 UUID migration.
Changes:
- Uses
iceberg.UUIDinstead ofgoogle/uuid.UUIDand removes the unused import. - Adds a regression test for UUID identity partition values.
| File | Description |
|---|---|
table/identity_partition_projection_internal_test.go |
Tests UUID identity partition conversion. |
table/arrow_scanner.go |
Matches the repository’s UUID type. |
Review effort: Balanced
laskoviymishka
self-requested a review
December 2, 2026 04:05
slachiewicz
approved these changes
Dec 2, 2026
This branch has not been deployed
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.
#2487 imported
github.com/google/uuidand matchedcase uuid.UUID:inidentityPartitionValueright after #2766 switchediceberg.UUIDto the Go 1.27 standard libraryuuid.UUID. On Go 1.27,github.com/google/uuid.UUIDno longer satisfiesiceberg.LiteralType, breaking builds onmain.Changes
case iceberg.UUID:inidentityPartitionValueand drop thegithub.com/google/uuidimport fromtable/arrow_scanner.go.TestIdentityPartitionValueUUIDintable/identity_partition_projection_internal_test.go.