Repository navigation
fix: support decimal256 indexes and normalize spill errors - #28845
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? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
GPT-6 medium deep review at exact head c23419a.
The two prior blockers are closed:
- Decimal256 is now encoded by serialWithCompacted and compactSingleIndexCol/compactPrimaryCol, so composite unique-index writers and LOAD DATA use the same Decimal256 key representation, including null-row compaction.
- Decimal256 is now supported by the serial contract, component encoder, SerialHelper, and serial_extract, so covering reads through a Decimal256 secondary index no longer hit the previous unsupported-type path.
I reviewed all 18 changed files. The new tests cover encoder and size-bound contracts, null handling, composite unique-key construction, ordinary-index covering reads, LOAD DATA into a composite unique index, and the changed terminal spill-resource error contract. The operator-boundary conversion is applied to Fill, Group, MergeOrder, and Top while preserving lifecycle/invalid-resource errors and retaining the existing HashBuild-specific guidance.
Required CI is green, including Ubuntu UT/race, SCA, coverage, shared build, compose/standalone BVT, and CI Required. The PR is mergeable without conflict and only behind the base branch.
No evidence-backed P0/P1/P2 blocker remains. Approving this exact head.
Merge Queue Status
This pull request spent 7 minutes 27 seconds in the queue, with no time running CI. Waiting for any of
All conditions
ReasonPull request #28845 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?
Which issue(s) this PR fixes:
issue #28586
issue #27627
What this PR does / why we need it:
Validation:
make buildGOWORK=off go test -mod=readonly -count=1 -timeout=15m ./pkg/sql/colexec/hashbuild ./pkg/sql/colexec/mergeorder ./pkg/sql/colexec/group ./pkg/sql/colexec/top ./pkg/sql/colexec/fillGOWORK=off go test -mod=readonly -count=1 -timeout=15m ./pkg/sql/plan/functionGOWORK=off go test -mod=readonly -count=1 -timeout=15m ./pkg/sql/utilGOWORK=off go vet -mod=readonly ./pkg/sql/colexec/hashbuild ./pkg/sql/colexec/mergeorder ./pkg/sql/colexec/group ./pkg/sql/colexec/top ./pkg/sql/colexec/fill ./pkg/sql/plan/function ./pkg/sql/utilmo-tester -c -p /home/mo/matrixone/test/distributed/cases/dtype/decimal_256.testNote:
SERIAL_EXTRACTDecimal256 support is not included; it is a separate known limitation.