Repository navigation
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? |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: bb997af05b65f14d69a78bff690181af56a52060
Assessment: approve
Reviewed the complete change, design, consumers and discussion. Key identity, publication, batch splitting and string provenance contracts remain intact. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Isolation preflight and native build passed; native inputs and artifacts verified.
-
330 tests passed across hashtable, hashmap and group with -vet=all -count=1; no failures or skips.
-
Sequential baseline/candidate benchmarks confirmed intended gains. Complete iterator preview/commit improved 9–26%; tested lookup controls showed no material regression.
-
Source remained unchanged. Discussion coverage, logs and 16 execution receipts reconciled in review-audit.json; final audit passed under checks/1793185294017252188-4.json.
Limitations:
-
Some isolated fallback encoding benchmarks slowed 11–17%; complete iterator measurements did not reproduce that regression. Shared-host timing precision remains limited.
-
Author-reported SQL-scale benchmarks, additional compile-package tests and lint results were not independently reproduced. Pending, cancelled and skipped CI jobs were not counted as passes.
bb997af to
a694f17
Compare
|
mo-bot review · Commit: "interrupted" |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 3289ce9e958e43b7f7b0ab775f5c8db4d44c13f5
Assessment: approve
Reviewed the complete delta, design, consumers and discussion. Key identity, preview ownership, admission, batch splitting and string provenance remain intact. The temporal-type race regression is fixed. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Isolation preflight and native build/provenance verification passed.
-
333 top-level tests and 347 subtests passed across hashtable, hashmap and group with -vet=all -count=1; no failures or skips.
-
Focused -race regression passed all seven eligible eight-byte types.
-
Logs and receipts reconciled in review-audit.json. Formatting, unchanged source and all five discussion keys verified; final audit passed under checks/1793197817489892824-4.json.
Limitations:
-
Product CI remained pending in the frozen evidence; skipped jobs were not counted as passes.
-
Historical performance reports support the design but do not establish current end-to-end gains.
-
Author-reported broader SQL, compile, race and lint checks were not independently reproduced.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #27665
What this PR does / why we need it:
Reduce CPU overhead in general hash aggregation paths:
[]uint64.These changes apply to common hash operations, without query- or data-specific planner rules. A fixed-window adaptive local reduction prototype was excluded after a repeated-key control exposed a regression. See the design. The design and final change were independently reviewed with gpt-6.1-terra/max.
Validation
6d1f5d7f2d31.-race; the repaired version passes normal and race tests forpkg/common/hashmap,pkg/container/hashtable,pkg/sql/colexec/group, andpkg/sql/compile.Historical measurements on the original PR head against main
9e29011e73, before this rebase and repair, used sequential ABBA on a four-core single-CN setup with a 12 GiB query budget and 99,997,497 rows.COUNT(DISTINCT UserID)medians were 3.104 s → 2.553 s (−17.8%) and 5.395 s → 4.977 s (−7.8%) for a shuffled multiset. The 17.8% improvement was below the original 25% Q5 target. Historical checks included high-repeat, unique, low-cardinality, skewed, nullable, string, composite-key, grouped DISTINCT, and one-worker controls with exact result checks and no aggregate median regression; the plans showed no spill and the measured processes had zero swap. These shared-host timings are historical evidence, not post-rebase end-to-end measurements, and do not establish DuckDB parity or guarantee similar improvement elsewhere.The updated head’s Linux/x86 CI is pending.