Repository navigation
fix(iceberg): encode Nessie hash refs as detached commits - #27223
Closed
iamlinjunhong wants to merge 2 commits into
Closed
iamlinjunhong wants to merge 2 commits into
iamlinjunhong wants to merge 2 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
1 of 7 tasks
XuPeng-SH
pushed a commit
that referenced
this pull request
Aug 18, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes #27221 ## What this PR does / why we need it: Nessie treats a bare commit hash in the Iceberg REST prefix as a named reference. Encode typed hash refs as detached prefixes using @<commit>, while leaving branch/tag refs unchanged and preserving the original hash:<commit> selector in the returned scan plan. Regression coverage verifies that both credential vending and table loading receive the detached prefix. This is the clean replacement for closed PR #27223. The unrelated REST catalog URI validation change was split into #27226 and has already merged. ## Verification - go build ./pkg/iceberg/metadata/... - go vet ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s -run TestRuntimeScanPlannerRewritesNessieHashAsDetachedRef ./pkg/iceberg/metadata - go test -v -count=1 -timeout=120s ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s ./pkg/iceberg/maintenance/... - git diff --check up/main...HEAD --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…in#27254) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes matrixorigin#27221 ## What this PR does / why we need it: Nessie treats a bare commit hash in the Iceberg REST prefix as a named reference. Encode typed hash refs as detached prefixes using @<commit>, while leaving branch/tag refs unchanged and preserving the original hash:<commit> selector in the returned scan plan. Regression coverage verifies that both credential vending and table loading receive the detached prefix. This is the clean replacement for closed PR matrixorigin#27223. The unrelated REST catalog URI validation change was split into matrixorigin#27226 and has already merged. ## Verification - go build ./pkg/iceberg/metadata/... - go vet ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s -run TestRuntimeScanPlannerRewritesNessieHashAsDetachedRef ./pkg/iceberg/metadata - go test -v -count=1 -timeout=120s ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s ./pkg/iceberg/maintenance/... - git diff --check up/main...HEAD --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…in#27254) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes matrixorigin#27221 ## What this PR does / why we need it: Nessie treats a bare commit hash in the Iceberg REST prefix as a named reference. Encode typed hash refs as detached prefixes using @<commit>, while leaving branch/tag refs unchanged and preserving the original hash:<commit> selector in the returned scan plan. Regression coverage verifies that both credential vending and table loading receive the detached prefix. This is the clean replacement for closed PR matrixorigin#27223. The unrelated REST catalog URI validation change was split into matrixorigin#27226 and has already merged. ## Verification - go build ./pkg/iceberg/metadata/... - go vet ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s -run TestRuntimeScanPlannerRewritesNessieHashAsDetachedRef ./pkg/iceberg/metadata - go test -v -count=1 -timeout=120s ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s ./pkg/iceberg/maintenance/... - git diff --check up/main...HEAD --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…in#27254) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Fixes matrixorigin#27221 ## What this PR does / why we need it: Nessie treats a bare commit hash in the Iceberg REST prefix as a named reference. Encode typed hash refs as detached prefixes using @<commit>, while leaving branch/tag refs unchanged and preserving the original hash:<commit> selector in the returned scan plan. Regression coverage verifies that both credential vending and table loading receive the detached prefix. This is the clean replacement for closed PR matrixorigin#27223. The unrelated REST catalog URI validation change was split into matrixorigin#27226 and has already merged. ## Verification - go build ./pkg/iceberg/metadata/... - go vet ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s -run TestRuntimeScanPlannerRewritesNessieHashAsDetachedRef ./pkg/iceberg/metadata - go test -v -count=1 -timeout=120s ./pkg/iceberg/metadata/... - go test -v -count=1 -timeout=120s ./pkg/iceberg/maintenance/... - git diff --check up/main...HEAD --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This branch had an error being 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.
What type of PR is this?
Which issue(s) this PR fixes:
issue #27221
What this PR does / why we need it:
fix(iceberg): encode Nessie hash refs as detached commits