Repository navigation
fix(iceberg): accept empty string manifest bounds - #28153
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? |
ef5d7a4 to
2a10910
Compare
XuPeng-SH
left a comment
There was a problem hiding this comment.
Reviewed exact head 2a10910. The parser change correctly distinguishes a typed zero-length byte/string bound from null or an invalid value, and downstream pruning treats an empty undecodable bound conservatively, so I found no code-level wrong-result path. However, the public-path regression is not validated on this revision: Iceberg E2E Local is unconditionally disabled by .github/workflows/iceberg-connector.yml (if: ${{ false }}) and the exact-head job was SKIPPED. The sqlmock tests exercise only the case-runner SQL/result plumbing and never read a manifest; the OCF unit test proves the local decoder but not the reported CREATE EXTERNAL TABLE / SELECT path through a real catalog and object store. Please provide terminal exact-head evidence for ICE-CI-E2E-025 against the real Nessie/MinIO Iceberg setup (including the generated case report), or move this regression to an active deterministic public-path job. Once that evidence exists, this validation blocker is closed.
2a10910 to
5244212
Compare
|
Validation completed on commit This launches a temporary MatrixOne service against the local Nessie REST catalog and MinIO. The generated report at The target case performed the real external-table insert and SELECT checks with empty-string, Chinese-string, and NULL values and produced |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep-reviewed exact head 5244212a3f161b11951de326962c9eca8366d82b against base fa829e5c505520e4bd429d283c78157781b4de72.
The previous validation blocker is closed: the exact head was exercised through the real external-table path against Nessie/MinIO, and ICE-CI-E2E-025 verified empty string, Unicode string, and NULL semantics with the expected 3\t2\t1, 1, and 1 results.
Counterexample review found no blocking issue:
- typed zero-length Avro bytes/string values are now distinguished from missing/null/wrongly typed values at the parser boundary;
- map-key presence is preserved even when the copied byte slice has length zero;
- lower and upper data-file bounds share the same decoder;
- malformed keys, invalid value types, and duplicate keys remain fail-closed;
- downstream pruning treats a zero-length undecodable bound conservatively, so it cannot incorrectly prune a file; and
- the change adds no row-path work or meaningful memory growth.
The OCF unit coverage plus the exact-head public-path run are proportionate to this focused parser fix. Current CI is green and git diff --check passes. Approve.
Merge Queue Status
This pull request spent 1 minute 46 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #28153 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#27210 ## What this PR does / why we need it: fix(iceberg): accept empty string manifest bounds --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#27210 ## What this PR does / why we need it: fix(iceberg): accept empty string manifest bounds --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#27210 ## What this PR does / why we need it: fix(iceberg): accept empty string manifest bounds --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What type of PR is this?
Which issue(s) this PR fixes:
issue #27210
What this PR does / why we need it:
fix(iceberg): accept empty string manifest bounds