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? |
XuPeng-SH
commented
Sep 13, 2026
XuPeng-SH
left a comment
Contributor
Author
There was a problem hiding this comment.
GPT-6 medium deep review at head b2775ab93bc91606942936c6969456ca6e2fd44e: no verified blockers or material test issues. Reviewed GROUP_CONCAT spill coverage, output correctness and cleanup, plus lock BVT consolidation. Exact-head PROXY CI selected both user_lock.sql and function_group_concat.sql; the changed test paths and referenced UT coverage are present.
XuPeng-SH
deleted the
codex/test-global-groupconcat-quality-20260913
branch
September 13, 2026 03:19
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…trixorigin#28801) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Related to matrixorigin#28653, matrixorigin#28249, and matrixorigin#28250. This PR only changes regression tests; it does not itself fix or close these issues. The GROUP_CONCAT production fix was merged in matrixorigin#28702, and the user-level lock behavior fix was merged in matrixorigin#28783. ## What this PR does / why we need it: This test-only follow-up consolidates related SQL-function coverage while preserving distinct test oracles: - Keeps the existing 70,000-byte text case and adds exact-output JSON and float32-vector cases through the real GROUP_CONCAT ordered-spill path. JSON and vector rendered outputs are each 65,536 bytes. The test asserts spill occurred before flush, checks complete output bytes, and verifies memory-pool cleanup. - Moves the three unique free-lock timeout-type probes (DOUBLE `0`, DECIMAL `0.5`, and DOUBLE `0.5`) into the broader `user_lock.sql` case, then removes the duplicate `func_user_lock.test/.result`. Existing lock lifecycle, contention, NULL-name, NULL-timeout, and case-insensitive checks remain. The precise DECIMAL-vs-DOUBLE rounding behavior remains owned by `TestGetLockDecimalTimeoutUsesDecimalRounding`. - Removes one adjacent, identical basic GROUP_CONCAT SELECT and its duplicate expected-output block. The first assertion remains; this was not a controlled cache/reuse test, and no measured runtime improvement is claimed. No production code or behavior changes. ## Test Plan - [x] Focused CGo UTs: `TestGroupConcatLargeValuesAcrossOrderedSpill`, `TestAppendGroupConcatDataCoversTypes`, and `TestGroupConcatVectorValuesAcrossFinalizers` — PASS. - [x] Full `./pkg/sql/colexec/aggexec` test package — PASS (1.346s). - [x] `go vet -mod=readonly ./pkg/sql/colexec/aggexec` with repository-matched CGo flags — PASS. - [x] Incremental `golangci-lint` for `./pkg/sql/colexec/aggexec` against the PR base — 0 issues. - [x] On 55, using a service built from current main `68860942354a7deb58158197e1e458d6094ec1bd` in an isolated network namespace, ran each modified BVT twice with mo-tester: - `user_lock.sql`: 67/67 passed on both runs. - `function_group_concat.sql`: 228/228 passed on both runs. - [x] `gofmt` and `git diff --check` — PASS. QA can run the two BVT cases with `./run.sh -n -g -p <path-to-case.sql>` against a test-owned MatrixOne instance. Both cases clean up their database/table state and were rerun successfully on the same isolated instance. CI was not awaited for this update.
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…trixorigin#28801) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Related to matrixorigin#28653, matrixorigin#28249, and matrixorigin#28250. This PR only changes regression tests; it does not itself fix or close these issues. The GROUP_CONCAT production fix was merged in matrixorigin#28702, and the user-level lock behavior fix was merged in matrixorigin#28783. ## What this PR does / why we need it: This test-only follow-up consolidates related SQL-function coverage while preserving distinct test oracles: - Keeps the existing 70,000-byte text case and adds exact-output JSON and float32-vector cases through the real GROUP_CONCAT ordered-spill path. JSON and vector rendered outputs are each 65,536 bytes. The test asserts spill occurred before flush, checks complete output bytes, and verifies memory-pool cleanup. - Moves the three unique free-lock timeout-type probes (DOUBLE `0`, DECIMAL `0.5`, and DOUBLE `0.5`) into the broader `user_lock.sql` case, then removes the duplicate `func_user_lock.test/.result`. Existing lock lifecycle, contention, NULL-name, NULL-timeout, and case-insensitive checks remain. The precise DECIMAL-vs-DOUBLE rounding behavior remains owned by `TestGetLockDecimalTimeoutUsesDecimalRounding`. - Removes one adjacent, identical basic GROUP_CONCAT SELECT and its duplicate expected-output block. The first assertion remains; this was not a controlled cache/reuse test, and no measured runtime improvement is claimed. No production code or behavior changes. ## Test Plan - [x] Focused CGo UTs: `TestGroupConcatLargeValuesAcrossOrderedSpill`, `TestAppendGroupConcatDataCoversTypes`, and `TestGroupConcatVectorValuesAcrossFinalizers` — PASS. - [x] Full `./pkg/sql/colexec/aggexec` test package — PASS (1.346s). - [x] `go vet -mod=readonly ./pkg/sql/colexec/aggexec` with repository-matched CGo flags — PASS. - [x] Incremental `golangci-lint` for `./pkg/sql/colexec/aggexec` against the PR base — 0 issues. - [x] On 55, using a service built from current main `68860942354a7deb58158197e1e458d6094ec1bd` in an isolated network namespace, ran each modified BVT twice with mo-tester: - `user_lock.sql`: 67/67 passed on both runs. - `function_group_concat.sql`: 228/228 passed on both runs. - [x] `gofmt` and `git diff --check` — PASS. QA can run the two BVT cases with `./run.sh -n -g -p <path-to-case.sql>` against a test-owned MatrixOne instance. Both cases clean up their database/table state and were rerun successfully on the same isolated instance. CI was not awaited for this update.
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…trixorigin#28801) ## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: Related to matrixorigin#28653, matrixorigin#28249, and matrixorigin#28250. This PR only changes regression tests; it does not itself fix or close these issues. The GROUP_CONCAT production fix was merged in matrixorigin#28702, and the user-level lock behavior fix was merged in matrixorigin#28783. ## What this PR does / why we need it: This test-only follow-up consolidates related SQL-function coverage while preserving distinct test oracles: - Keeps the existing 70,000-byte text case and adds exact-output JSON and float32-vector cases through the real GROUP_CONCAT ordered-spill path. JSON and vector rendered outputs are each 65,536 bytes. The test asserts spill occurred before flush, checks complete output bytes, and verifies memory-pool cleanup. - Moves the three unique free-lock timeout-type probes (DOUBLE `0`, DECIMAL `0.5`, and DOUBLE `0.5`) into the broader `user_lock.sql` case, then removes the duplicate `func_user_lock.test/.result`. Existing lock lifecycle, contention, NULL-name, NULL-timeout, and case-insensitive checks remain. The precise DECIMAL-vs-DOUBLE rounding behavior remains owned by `TestGetLockDecimalTimeoutUsesDecimalRounding`. - Removes one adjacent, identical basic GROUP_CONCAT SELECT and its duplicate expected-output block. The first assertion remains; this was not a controlled cache/reuse test, and no measured runtime improvement is claimed. No production code or behavior changes. ## Test Plan - [x] Focused CGo UTs: `TestGroupConcatLargeValuesAcrossOrderedSpill`, `TestAppendGroupConcatDataCoversTypes`, and `TestGroupConcatVectorValuesAcrossFinalizers` — PASS. - [x] Full `./pkg/sql/colexec/aggexec` test package — PASS (1.346s). - [x] `go vet -mod=readonly ./pkg/sql/colexec/aggexec` with repository-matched CGo flags — PASS. - [x] Incremental `golangci-lint` for `./pkg/sql/colexec/aggexec` against the PR base — 0 issues. - [x] On 55, using a service built from current main `68860942354a7deb58158197e1e458d6094ec1bd` in an isolated network namespace, ran each modified BVT twice with mo-tester: - `user_lock.sql`: 67/67 passed on both runs. - `function_group_concat.sql`: 228/228 passed on both runs. - [x] `gofmt` and `git diff --check` — PASS. QA can run the two BVT cases with `./run.sh -n -g -p <path-to-case.sql>` against a test-owned MatrixOne instance. Both cases clean up their database/table state and were rerun successfully on the same isolated instance. CI was not awaited for this update.
This branch was previously 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:
Related to #28653, #28249, and #28250. This PR only changes regression tests; it does not itself fix or close these issues. The GROUP_CONCAT production fix was merged in #28702, and the user-level lock behavior fix was merged in #28783.
What this PR does / why we need it:
This test-only follow-up consolidates related SQL-function coverage while preserving distinct test oracles:
0, DECIMAL0.5, and DOUBLE0.5) into the broaderuser_lock.sqlcase, then removes the duplicatefunc_user_lock.test/.result. Existing lock lifecycle, contention, NULL-name, NULL-timeout, and case-insensitive checks remain. The precise DECIMAL-vs-DOUBLE rounding behavior remains owned byTestGetLockDecimalTimeoutUsesDecimalRounding.No production code or behavior changes.
Test Plan
TestGroupConcatLargeValuesAcrossOrderedSpill,TestAppendGroupConcatDataCoversTypes, andTestGroupConcatVectorValuesAcrossFinalizers— PASS../pkg/sql/colexec/aggexectest package — PASS (1.346s).go vet -mod=readonly ./pkg/sql/colexec/aggexecwith repository-matched CGo flags — PASS.golangci-lintfor./pkg/sql/colexec/aggexecagainst the PR base — 0 issues.68860942354a7deb58158197e1e458d6094ec1bdin an isolated network namespace, ran each modified BVT twice with mo-tester:user_lock.sql: 67/67 passed on both runs.function_group_concat.sql: 228/228 passed on both runs.gofmtandgit diff --check— PASS.QA can run the two BVT cases with
./run.sh -n -g -p <path-to-case.sql>against a test-owned MatrixOne instance. Both cases clean up their database/table state and were rerun successfully on the same isolated instance. CI was not awaited for this update.