Skip to content

fix(plan): preserve ODKU source order before conflict arbitration - #31963

Merged
XuPeng-SH merged 6 commits into
mainfrom
fix/odku-source-order-main
Nov 1, 2026
Merged

XuPeng-SH merged 6 commits into
mainfrom
fix/odku-source-order-main

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Related to #31961 and #31962: main input-order variants.

What this PR does / why we need it:

UNIQUE lookup joins can reorder ODKU inputs. A later update can lose to an earlier action, or a snapshot conflict can incorrectly beat a key inserted earlier in the statement. Number the converted input globally before lookups and restore its order with the existing global SORT before PRE_INSERT_UK. Existing DEDUP replay then receives the correct action order. Incoming-column positions, target-last/output-width and lock-selection semantics stay unchanged.

Close the Window input-cache admission gap: retained copies use Window's allocation account before publication, including initial-copy failure, growth rejection and generation cleanup. This addresses an accounting bypass, not a demonstrated leak or OOM.

Avoid the added full-input copy for sole, argument-free, non-distinct ROW_NUMBER with no PARTITION BY or ORDER BY and no PartitionTopN. Keep existing Prepare frame validation, then stream bounded output from one borrowed child batch, with one counter across batches. Admit ordinal and owned view metadata, preserve child ownership, and clear state on failure/Reset/Free/Prepare. Retire unused generic cached capacity when entering streaming, including unaccounted reuse. Generic buffered windows retain their admission repair; their negative-budget regression uses full-partition COUNT. No new operator, protobuf or compiler fields are introduced. The final global SORT remains mandatory.

Scope excludes #31955, #31959, all 4.2-dev repairs, base-lock selection changes and directed lock/concurrency work.

Validation at implementation head f60631ed822ba7b342a4aa6a3c7b6c347613976c, tree bbff202cb7119ca2a44968fd6e4c605b5fca6e70 (before the final receiver-name-only correction):

  • Independent native gpt-6.1-sol max review found no unresolved blockers after cache-transition fix/re-review. It rebuilt its own binaries and passed 10 focused lifecycle/admission/frame tests, all 269 Window-package tests without skips, all 15 sequential SQL scenarios, and both compiler ownership/order tests. The SQL witnesses include logical rows and physical UNIQUE-index/PK oracles. Independent source hashes and clean status matched before/after review.
  • Author full Window, targeted sequential race, named planner/compiler/SQL/REPLACE controls, vet and incremental lint passed. Isolated mo-tester comparison passed twice, 14/14 each, with database teardown and owned service shutdown. The cache-transition regression failed before the final Prepare fix and passed afterward.
  • Independent ABBA full-EOF benchmarks used 100 iterations per shape/sample; author paired runs used five samples/version and 1,000 iterations. Every iteration drains all rows, verifies the final ordinal and includes Reset/Free. Fixed, non-NULL fixture Window account peaks fell 4,160→32 B (8×64), 9,216→512 B (128×8), and 655,360→40,960 B (8193×8); Window-owned input-copy backing fell to zero. These are operator measurements, not whole-query memory bounds. The tiny wide fixture used slightly more Go heap bytes per operation.

Author same-environment end-to-end SQL matrices have mixed, overlapping timing distributions and do not establish a stable overall SQL speedup or regression bound. Removing the Window copy does not remove join buffering or the O(N log N) restoring SORT. The versioned design note and full-drain benchmark document this tradeoff.

Final exact-head CI and end-to-end validation are recorded below. No local unfiltered suite/full mo-tester file/group, forced SQL multi-CN placement or forced spill-pressure run is claimed. Safe mo-tester uses normal flags including -n, so JDBC metadata comparison is not claimed. 4.2-dev remains paused; CLA identity resolution remains an owner action.

Final exact-head CI and sequential SQL validation

Final head: 88b9928404061e762c8f37414c55c4044b60f265, tree 90bb9cd517ea01913887035cbe01a2501c7a0eb6. The delta after the implementation validation above only renames the two new Window receivers consistently, resolving ST1016 without changing behavior. Independent gpt-6.1-sol max delta review passed all 269 Window tests and full-package golangci-lint with no diff filter (0 issues).

Exact-head CI run 41273849706 completed successfully: 20 successful checks, 14 skipped, 2 neutral; none failed or active. CI Required passed. SCA ARM64, UT, coverage, shared build, CodeQL, proxy BVT and pessimistic BVT passed. Skipped checks are not counted as passes.

Independent gpt-6.1-terra high validation compared this exact head with main base 9c17596a185a5fd85b545be0dd1de602e0c81656, using fresh version-specific binaries with matching configuration on one shared executor (Go1.27.1, GOMAXPROCS=4, single CN, 64 MiB spill allowance, owned workspace-overlay fixtures). No task-owned build/test overlapped timing.

  • 12 alternating AB/BA pairs, 12 interleaved cells, 8 warmups + 24 measured statements/cell/instance: 6,912 measured statements, 9,216 including warmups.
  • All 288 case-level checks passed, including per-action expected rows, full logical tables and physical UNIQUE-index mappings. Cells cover 128/512-row no-conflict, distinct-conflict and hot-key ODKU plus ordinary INSERT controls; additional 128-row cells cover 50% conflicts, wide rows, one UNIQUE and INSERT SELECT.
  • All 20 correctness-only boundary checks passed: no-conflict ASC/DESC INSERT SELECT at 0, 1, 8191, 8192 and 8193 rows on both versions. Both startup smokes and all 26 trial instances exited cleanly; owned fixture cleanup was verified.

The predeclared global 10% end-to-end non-regression margin remains inconclusive. Paired median-latency estimates range from −3.18% to +1.38%, and mean-latency estimates from −3.24% to +4.95%. None of the individual approximate 95% paired-cluster intervals establishes a slowdown. However, 13 of 20 simultaneous one-sided 95% upper bounds exceed +10%; the largest is +15.84% for 128-row one-UNIQUE mean latency (estimate +4.95%, individual interval −4.20% to +15.14%). An upper bound exceeding the margin does not itself establish a regression. Ordinary INSERT control medians changed −1.83%/−1.85%, with intervals including zero; no normalization or causal attribution is applied.

Independent gpt-6.1-sol max results review reproduced all counts, all 20 estimates/intervals/upper bounds and controls using 20,000 joint bootstrap resamples of the 12 pairs, rather than treating individual statements as independent repeats. Review report SHA-256: 44288fbd371d6c9f37fd4ef1ac88664dad02ba86e8c2b0634157a86131581b45.

These approximate intervals cover only the measured sequential matrix and shared hardware. Whole-launcher CPU/RSS observations are not query-resource bounds. Earlier attempts stopped on fixture disk exhaustion and an overlong socket path; their data and the separate prelaunch invocation abort were preserved, not pooled or silently substituted. This establishes neither a blanket performance pass nor a stable overall SQL speedup; the operator copy/accounting improvements above are separate evidence.

@CLAassistant

CLAassistant commented Nov 1, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ XuPeng-SH
❌ Peng Xu


Peng Xu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@qodo-code-review

qodo-code-review Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

Grey Divider

Sorry, something went wrong

We weren't able to complete the code review on our side. Please try again manually by commenting /agentic_review on this PR.

Grey Divider

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Preserve ODKU source order through unique-key conflict lookup

🐞 Bug fix 🧪 Tests 🕐 40+ Minutes

Grey Divider

AI Description

• Number ODKU inputs before UNIQUE lookups and restore their order before conflict arbitration.
• Charge Window’s retained input copies to its own account, preventing budget bypasses.
• Add planner, compiler, accounting, and SQL regressions for ordering and cleanup.
Diagram

graph TD
  Input["Converted input"] --> Window["Row number"] --> Joins["UNIQUE lookups"] --> Sort["Global sort"] --> Project["Input projection"] --> Arbiter["Conflict arbiter"] --> Dedup["DEDUP replay"]
  Account[("Window account")] --> Window
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Preserve order within lookup joins
  • ➕ Could avoid the added Window buffer and global sort.
  • ➖ Requires order guarantees across joins and distributed scopes, expanding the change and its correctness risk.

Recommendation: Keep the ordinal-and-global-sort approach: it establishes order at the arbiter boundary without changing lookup or arbitration semantics. The buffering and sorting cost is real, but preserving order throughout distributed lookups would be a broader change.

Files changed (8) +508 / -2

Bug fix (2) +77 / -2
window.goAdmit buffered input under Window’s allocation account +35/-2

Admit buffered input under Window’s allocation account

• The first input copy now uses Window-owned vectors when an account is configured, rather than inheriting the producer’s allocation selection. Prepare retires retained unaccounted capacity before an accounted generation.

pkg/sql/colexec/window/window.go

bind_insert.goRestore ODKU source order before target arbitration +42/-0

Restore ODKU source order before target arbitration

• Adds a global row-number ordinal before conflict probes and sorts by it afterward. The ordinal remains private to the sort, preserving the existing arbiter projection and output positions.

pkg/sql/plan/bind_insert.go

Tests (6) +431 / -0
window_account_test.goCover Window input admission and lifecycle cleanup +149/-0

Cover Window input admission and lifecycle cleanup

• Tests fixed and variable-width input from ordinary and separately accounted producers under successful and rejected budgets. They also check source-account isolation, reset cleanup, and transition from unaccounted reuse.

pkg/sql/colexec/window/window_account_test.go

compile_test.goVerify global ordering before compiled ODKU arbitration +34/-0

Verify global ordering before compiled ODKU arbitration

• Checks that row numbering produces one scope and that sorting merges multiple scopes before PRE_INSERT_UK is attached.

pkg/sql/compile/compile_test.go

bind_insert_order_test.goCheck ODKU plan boundaries and unaffected insert paths +85/-0

Check ODKU plan boundaries and unaffected insert paths

• Verifies the Window–lookup–sort–arbiter plan shape for VALUES and INSERT SELECT. Confirms ordinary INSERT, INSERT IGNORE, and an unrelated ODKU path do not gain the Window.

pkg/sql/plan/bind_insert_order_test.go

odku_source_order_test.goExercise sequential ODKU results in an embedded cluster +132/-0

Exercise sequential ODKU results in an embedded cluster

• Compares multi-row actions with single-row controls and checks logical rows and physical UNIQUE indexes. Additional cases cover key forms, NULLs, bounded workloads, and a cross-batch conflict.

pkg/tests/dml/odku_source_order_test.go

on_duplicate_key_modern.resultRecord expected source-order conflict results +19/-0

Record expected source-order conflict results

• Adds expected output for two ODKU scenarios where action order determines the final payload or conflict target.

test/distributed/cases/dml/insert/on_duplicate_key_modern.result

on_duplicate_key_modern.sqlAdd distributed ODKU source-order scenarios +12/-0

Add distributed ODKU source-order scenarios

• Adds two multi-row UNIQUE-conflict statements and queries their final rows to catch lookup-induced reordering.

test/distributed/cases/dml/insert/on_duplicate_key_modern.sql

@XuPeng-SH

XuPeng-SH commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · superseded

Commit: 4026ff8f21f7979f4c0e831d559daa48a3871617

Review discussion changed before publication; a fresh contextual review is queued.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent commit review of 4026ff8f21f7979f4c0e831d559daa48a3871617 against base 9c17596a185a5fd85b545be0dd1de602e0c81656: no remaining code blockers found within the permitted scope.

I independently verified that all eight changed files and the complete PR patch are byte-for-byte identical to the reviewed 3453d61efdbc96b993dba875bbb39b75b3e137c7 change. The delta between the reviewed and published heads is exactly the upstream main advancement from eabd1009 to 9c17596a; integration introduced no additional authored change. The earlier source-order and resource-ownership review therefore applies to this exact commit. Final integration execution at 4026ff8 is reported by the author in the PR description; I did not independently rerun that final-head execution matrix or inspect the author's raw logs.

The ordering invariant is explicit: number the converted input globally before conflict lookups, restore that ordinal with the global Order/MergeOrder path after lookups, then enter the statement-local arbiter. The ordinal is private to this path and is removed before the existing projection/arbiter layout. Incoming-column positions, output width and target-last identity remain intact. The ordinary INSERT, INSERT IGNORE and primary-key-only ODKU controls remain outside the new Window path.

The original P2 input-accounting finding is closed. My independent eight-row/64-column check fails on b0eed376 and passes on 3453d61:

  • A 1,024-byte account now rejects the initial copy in the eight-row/4,096-byte input fixture and leaves zero retained charge.
  • With sufficient budget, the retained input is charged 4,096 bytes and the ordinal 64 bytes, totaling 4,160 bytes.
  • When source and Window share an account, total usage is 8,256 bytes; Reset releases Window's allocations and leaves only the source's 4,096 bytes. Final cleanup returns both the account and mpool to zero.

The first copy is published only after admission; partial first-copy failure cleans the destination, and subsequent growth rejection reaches Reset/Free. Copies belong to Window's account without relabeling or charging the producer's allocations. The revised path retains the existing single deep copy rather than adding another data copy, and retires unaccounted cached capacity before an accounted generation.

Independent validation at 3453d61 used Linux/amd64, Go 1.27.1, verified CGo artifact provenance and -count=1:

  • Full owning Window-package tests passed (3.373s), including fixed/variable input, separately accounted producers, initial-copy/growth rejection, cleanup and reuse.
  • The two planner regressions and compiler scope/order-boundary regression passed.
  • All ten sequential ODKU SQL subscenarios passed, including logical/physical UNIQUE-index checks and the 8,193-row batch boundary. Four additional INSERT SELECT cases (ASC, DESC, ordered LIMIT and empty input) passed; the combined SQL run took 9.427s.
  • -vet=all passed for Window, planner, compiler and DML packages.

The cost is an accepted correctness tradeoff, not a measured performance improvement. Window retains O(N × row width) input and the restoring SORT adds O(N log N) work. The author reports controlled Window-only medians of 113→193 microseconds for 8×64 and 28.1→32.8 microseconds for 128×8 (five samples, 1,000 iterations, source setup excluded). I did not independently rerun these microbenchmarks; their approximately 71%/17% increases cannot be translated into SQL throughput percentages. The additional allocation-admission work is proportionate to closing the demonstrated budget bypass.

Evidence limits remain explicit: no full unfiltered suite or complete ODKU mo-tester file/group was run in this review; forced multi-CN SQL placement and ODKU-specific forced spill-pressure were not exercised. Multi-scope ordering has compiler-structure coverage, and the SQL fixture used an embedded cluster without forcing placement. The author reports final integration tests, vet/lint and two isolated mo-tester comparisons with 14/14 statements plus teardown; these remain author evidence. The reported mo-tester -n mode does not establish JDBC metadata comparison. No CI-green claim is made here.

Issues 31955 and 31959, equivalent excluded operations, base-lock selection changes and directed lock/concurrency work remain outside this review. 4.2-dev remains paused; this review makes no implementation or verification claim for those scopes.

@XuPeng-SH

XuPeng-SH commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · done

Commit: 4026ff8f21f7979f4c0e831d559daa48a3871617

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 4026ff8f21f7979f4c0e831d559daa48a3871617

Assessment: approve

ODKU ordering and Window allocation ownership are correctly preserved. The additional discussion introduces no unresolved concern. No actionable findings remain.

Model: gpt-6-astra / xhigh

Session: 01a1869d-820c-7212-9788-aecfb86a4141 · slot 0 · generation 2

Validation:

  • Completed scope review and reconciled all six discussion entries.

  • Verified and reused exact-head checks: six focused tests including ten SQL scenarios; full Window, planner and compiler packages; targeted vet.

  • Verified full Window race results and 100 repetitions of each lifecycle test.

  • Current evidence audit passed, matching source, native inputs, receipts and retained logs. Provenance is recorded in validation-reuse.json; no product tests were rerun.

Limitations:

  • Two unrelated planner subtests were skipped; main CI remained pending in the frozen evidence.

  • Full BVT, forced remote placement, spill-pressure testing, JDBC metadata comparison and end-to-end throughput were not independently validated.

  • Additional historical probes and benchmarks remain reported evidence.

@LeftHandCold LeftHandCold left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4026ff8f21f7979f4c0e831d559daa48a3871617 against merge-base 9c17596a185a5fd85b545be0dd1de602e0c81656.

代码 review:APPROVE,未发现本次改动引入的可确认 blocker。 这是代码审查结论,不代表正在运行的 CI 已通过,也不代表可以绕过仓库合并门禁。

完整检查了 8 个文件的全部 diff,按三个 closure 追踪:

  1. R3:ODKU 顺序。 converted input → 全局 ROW_NUMBER → PRIMARY/UNIQUE LEFT lookup → Order/MergeOrder → projection → PRE_INSERT_UK → 既有 DEDUP。compileWin 将编号收敛到单 scope;恢复排序之后才进入 stateful arbiter。SORT 消费序号后将其投影掉,原 incoming/action metadata 列位置及 target-last 契约不变。普通 INSERT、INSERT IGNORE、无 secondary UNIQUE 的 ODKU 不进入这个新增路径。现有 PRE_INSERT 的 ordinal 仅服务可见 AUTO_INCREMENT 的结果协议,不是所有 ODKU 都具备的排序字段,因此这里复用通用 Window/Sort 有合理边界。
  2. R3:Window 输入所有权。 首次复制先建立 Window-owned allocation selection,CloneTo 成功才发布 ctr.bat;失败由 CloneTo 清理临时 destination。后续 AppendWithCopy 的部分增长由原 Reset/Free 路径收回。源 batch 没有被重新标记或转移所有权。带账户的新 generation 会先退役旧的无账户缓存。无账户路径保留原策略。
  3. R1/R2:测试与公共行为。 planner/compiler 检查顺序边界及输出布局;DML 以单行顺序执行作为独立对照,检查最终值、物理 UNIQUE 索引和 8193 行跨批次;补充现有 BVT 而非新增独立测试框架。首次复制拒绝、增长拒绝、不同 producer account、变长/NULL 及复用都有针对性用例。属于既有语义的局部修复,不要求新建 feature 架构文档。
审计 结论
Q1 所有权/清理 新副本由 Window 负责;首拷贝失败与已发布缓存的清理边界明确,未见重复释放或遗失 owner
Q2 等待/取消 未新增锁、重试、goroutine 或独立取消机制,沿用现有 pipeline/merge 及 Window 的取消、失败清理路径
Q3 增长/性能 输入缓存进入 statement allocation account;排序复用现有 spill 路径;预算不足仍会明确拒绝,不是无限驻留承诺

性能边界需要保留在发布判断中:

  • 新 ROW_NUMBER Window 没有 PARTITION/ORDER BY,会先缓存完整输入;后面的 SORT 即使能 spill,也不会让前面的 Window 输入变成流式。
  • 因此带 secondary UNIQUE 的 ODKU(包括无冲突的大批量输入)也会支付 O(N × row width) 缓冲和 O(N log N) 排序成本。预算拒绝修复是必要的,但不等于没有吞吐/容量影响。
  • PR 已明确接受这个正确性取舍。本次没有端到端吞吐数据,不能把 Window-only 微基准换算成 SQL 性能结论;大批量、宽行 upsert 上线前仍应按实际负载评估。这里未发现足以把已记录取舍升级为 blocker 的新证据。

证据及限制:

  • 已检查 PR 描述及两份 exact-head review 对 focused tests、Window 生命周期/race、planner/compiler、DML 与两次隔离 BVT 的报告;这些是作者/既有 review 证据,本轮没有取得原始执行日志或重新独立执行。
  • 本轮 Go 1.27.1 gofmt 检查和 git diff --check 通过。
  • 本轮尝试串行、低并发执行两个 Window 定向测试,CGo wrapper 在运行前因当前 worktree 缺少 libmo、primary native inputs 不匹配而拒绝;没有绕过 provenance 检查,没有将该尝试记为测试通过,也没有启动重型 native 重编译或集群。
  • 本 HEAD 的完整 CI 仍在执行 UT/SCA/BVT;shared build 已成功。强制远端 placement、特定 ODKU spill-pressure 和端到端性能未在本轮验证。

已有 review 提到的首次输入复制未计账问题,在当前代码中已经对应闭合;当前没有 unresolved inline thread。此 PR 是 main 的 input-order 修复,不代表 #31961/#31962 的 v4.2.6 原始案例已通过本 PR 完成 release 修复,也没有扩展到 PR 明确排除的其他问题。

@XuPeng-SH

XuPeng-SH commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · done

Commit: 4026ff8f21f7979f4c0e831d559daa48a3871617

New discussion was assessed; the previous review remains unchanged.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit review for 88b9928 (tree 90bb9cd517ea01913887035cbe01a2501c7a0eb6).

Independent gpt-6.1-sol max delta review found no remaining code or validation blocker. The complete one-file delta from f60631e is exactly the receiver identifier substitution w -> window in the two new Window methods and their references; applying that substitution reproduces the candidate byte-for-byte. It fixes ARM64 SCA ST1016 without changing behavior or suppressing lint.

Fresh independent validation on Linux/amd64, Go1.27.1: all 269 Window top-level tests passed (no skips; 4.604s); golangci-lint 2.14.0 on the complete Window package with NO diff filter passed with 0 issues (58.247s); gofmt clean. An initial lint setup attempt hit a read-only default cache before analysis; the successful run used a fresh reviewer-owned writable cache, without permission changes. Author full Window tests and full-package lint also passed.

Independent report SHA-256: fffb923fc5dbba05cb39c10895515f97522764681f7fc9fe48ff473ed6d6b587. Changed source SHA-256: c42d1891020674280a07a0d2d9db0d90106bd5eea72ea627655807f8b44214cc.

The earlier f606 independent SQL/compiler/full-EOF benchmark evidence remains applicable to this proven identifier-only change; SQL and benchmarks were not repeated for this delta. Operator copy/accounting benefits are not an overall SQL speedup claim. Exact-head ARM64 CI is still a separate pending gate, not a claimed pass. CLA remains an owner action; 4.2 and the excluded lock/concurrency work are unchanged. This is a COMMENT review, not a GitHub approval.

@XuPeng-SH

XuPeng-SH commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · done

Commit: 88b9928404061e762c8f37414c55c4044b60f265

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 88b9928404061e762c8f37414c55c4044b60f265

Assessment: approve

No actionable findings. Global ODKU ordering, Window allocation ownership and streaming cleanup are preserved.

Model: gpt-6-astra / xhigh

Session: 01a1869d-999c-7481-b340-ae4a63e8cee4 · slot 1 · generation 2

Validation:

  • Reviewed all 13 changed files, relevant owners/consumers, four linked issues and all 14 discussion entries; saved review-plan.md and discussion-assessment.json.

  • Source audit passed: frozen patch, clean checkout, formatting, source hashes, discussion coverage and exact receiver-only rename since f60631e. Receipt: checks/1793508821717203411-2.json; log: review-audit.log.

  • Reused supplied review 5726488910 reporting 269 exact-head Window tests and full-package lint, plus semantically matching review 5726294839 reporting 15 SQL scenarios, compiler checks and full-drain benchmarks.

Limitations:

  • Product tests were not rerun; supplied execution reports' raw logs and native receipts were unavailable for independent audit.

  • Frozen CI remains pending; CLA remains an owner action.

  • No overall SQL speedup, whole-query memory bound, forced multi-CN SQL placement or spill-pressure coverage is established.

This branch was successfully deployed

No deployments
ci — f2c2b032 Deployed Nov 1, 2026 by XuPeng-SH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/XL Denotes a PR that changes [1000, 1999] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants