Repository navigation
Fix decimal rounding and MySQL text-to-float casts - #31191
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? |
8ed402f to
b65aa30
Compare
|
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: 96adbd2e9d179cf84b288b97700e719fb37eefda
Assessment: approve
Reviewed the complete 54-file delta and affected callers; no actionable defects found. The design keeps rounding, cast diagnostics, statement classification and protocol admission with their existing owners. It preserves exact integral conversion and stored IEEE values while enforcing runtime SQL-mode behavior. Tests cover rounding boundaries, rollback, prepared-statement reuse, masked evaluation and protocol rejection. The additional formatting and lexical scanning costs are justified by the corrected semantics.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Verified the frozen head, clean checkout, merge base, all changed-file contents and patch equivalence; git diff --check passed.
-
Decoded both generated protobuf descriptors: the sole semantic change is ProcessInfo optional bool statement_runtime_dml, field 18.
-
Local static audit passed with receipt attempt-2/checks/1793001437975103646-4.json, matching review-static-audit-v2.log and review-static-audit.json. The initial audit failure concerned only the supplied patch's omitted terminal newline.
-
Reused the frozen exact-head CI snapshot reporting successful UT, static analysis, coverage and both complementary multi-CN BVT jobs; checked their repository workflow routing.
-
Reviewed assignment/explicit-cast error distinctions, warning delivery, constant-folding safeguards, prepared mode transitions, remote forwarding, persisted-expression floors and IEEE fixture preservation.
-
Attempt 1 contained only evidence.json; both local_validation inventories were empty. No local Go or SQL execution is claimed. Detailed closure mapping is retained in attempt-2/review-closure-map.json.
Limitations:
-
Raw CI and author execution logs were not supplied. Author-reported MySQL reference checks, race runs and repeated BVT results were not independently reproduced.
-
The author reports fractional Decimal128 conversion at approximately 35 ns versus 6 ns, with zero allocations. These measurements were not independently verified; affected paths add formatting or lexical scanning, including tracing callers.
-
Upgrade CI was skipped; mixed-version assessment relies on source and protocol regression tests. Linked issue bodies were unavailable, so their behavioral scope was assessed from the frozen PR description and regression cases.
…float consumers Main's matrixorigin#31191 changed text-to-FLOAT conversion and matrixorigin#31017/matrixorigin#31020 added float-typed window and aggregate functions. The low-precision types follow FLOAT in each: - Text: radix text (0x/0b/0o) is its integer value and other text its decimal prefix ('inf'/'nan' are 0), rounded once from the exact value; truncated text goes through diagnoseFloatText with the cast mode, so a strict INSERT/UPDATE errors and IGNORE or non-strict mode warns. Prepared Boolean parameters convert as FLOAT does. - Assignment: useSqlModeAssignmentCast and ContainsTruncatedFloatTextConversion name every float type. - Window functions: indicator kernels and local ranks read a bf16/ float16/float8/float4 argument as float32, which holds it exactly. - quantileExactWeighted already casts its arguments to FLOAT; its switches are tagged typeswitch:partial, as are the two window kernel switches. BVT lowprec_float covers each against FLOAT; the txt block pins sql_mode so it does not depend on an earlier case's session state. Co-Authored-By: Claude Opus 5.5 <[email protected]>
## What type of PR is this? - [ ] API-change - [ ] BUG - [x] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: - #31133 ## What this PR does / why we need it: This is a performance follow-up to merged #31191, which already corrected DOUBLE-to-DECIMAL rounding for #31133. The returned follow-up concerns the per-value formatting cost introduced by that fix. Results such as `CAST(1.005e0 AS DECIMAL(10,2)) = 1.01` retain the corrected semantics. A conservative error bound lets common Decimal64/128 conversions skip shortest-decimal formatting when the rounded result is provably identical. Tie-adjacent, small, large and high-scale values retain the existing fallback. Exact integral Decimal128 conversion, width checks, signs and cast diagnostics are preserved. Validation passed: both owning Go packages, an independent rational oracle covering 5,655 finite value/target combinations, real explicit/ordinary mixed-vector and overflow tests, zero-allocation checks, incremental vet/lint, and two real-service SQL probes with exact output and teardown comparisons. The probes cover literals, runtime columns, implicit INSERT, NULL, high-scale values, string controls and prepared parameters; they are not a full mo-tester BVT run. Paired benchmarks used identical benchmark source, five 300 ms samples per group on Apple M4 / darwin-arm64 / Go 1.27.1. The existing fractional Decimal128 median fell from 34.45 to 7.16 ns/value; fixed mixed-input medians improved by 60.4% for Decimal64 and 54.3% for Decimal128. All samples had zero allocations. Fallback and integral controls met the design budgets, including one extended interleaved recheck of initially noisy high-scale results. These are scalar measurements; query throughput and cross-platform performance were not measured. Remote CI is pending. Please have the reporter verify #31133 after merge. Maintenance validation (2026-10-26): rebased onto official main `fbfba33b04ccfda3ca40815f2a9668e0da34ea0d` as `5ec04af100422fba0cef599fa9adbcc1c7bc45a8` to update the branch after Mergify reported missing fork-update permission. `git range-diff` confirms the patch is unchanged; decimal/cast source, tests, Go dependencies and native inputs are identical to the prior head. `git diff --check` and the Loom artifact check passed. The earlier validation summary above is retained; no product tests or benchmarks were rerun for this ancestry-only update. New-head CI remains pending.
Adds reusable scalar/vector controls and a bounded SQL workload runner for the performance follow-up to merged #31191 and #31279. The original shortest-decimal rounding correction is preserved; this PR changes tests and measurement tools only. The runner verifies stored DOUBLE bit patterns, target metadata, runtime CAST plans and complete converted value distributions against an independent Decimal oracle. It covers five fallback classes, ordinary/exact-integer controls, both target sizes and high scales. Regression coverage adds subnormal boundaries, tiny runtime/NULL cases and DOUBLE rounding-overflow warnings. Original-head validation (`d92e7dc09b`) passed: both owning Go packages (including 5,679 rational-oracle cases), current-source vector benchmarks, incremental vet/lint, bounded-plan/output counterexamples and two 84-statement real-service BVT comparisons, the second including metadata. Original literals still return 1.01, 1.02 and -1.01. On the original source, a controlled C–A–A–C experiment compared current code with only #31279's fast path disabled: 16M stored rows per cohort, ten measured samples per side for scans and INSERT SELECT. On Apple M4 / darwin-arm64 / Go 1.27.1, current fallback-scan medians were roughly 0.43–0.71 s. Sample ranges overlapped and the same current binary's ordinary-scan arm medians drifted from 205 to 696 ms, so these measurements do not establish a stable query-throughput gain. Remaining formatting costs and measurement limits are explicit; scalar timings are not treated as query-performance approval. Reused evidence: [CI run 40371620171](https://github.com/matrixorigin/matrixone/actions/runs/40371620171) passed UT, SCA, coverage, both enabled BVT lanes and CI Required at `a718bfdf7f`. The [independent review](#31305 (review)) verified the scalar/vector controls and Python host probes at that same head. Historical service measurements above were not repeated. Manual branch refresh (`be4d060abb`, based on official main `7b80dbdbd3`) brings in the workflow updates that Mergify could not apply without workflow-write permission; it does not change Mergify permissions. All six PR files remain byte-identical to `a718bfdf7f`. Newly passed `.agents/skills/mo-dev/scripts/mo-cgo-test -short -p=2 -parallel=2 -v -count=1 -timeout=120s -run='^(TestCast|TestExplicitCastLexicalDecimalDiagnostics|TestExplicitCastLexicalStrictDMLEscalation)$' -bench='^BenchmarkFloatDecimalVectors$' -benchtime=1x ./pkg/sql/plan/function`: the three selected tests and all 38 vector branches (correctness smoke only). Diff, patch-equivalence and delivery-artifact checks passed. Types/native source inputs are unchanged across the base update; existing types evidence is reused. The local check retained pre-usearch-2.26.5 native libraries and does not validate HNSW or a fresh native generation. Full CI on the new base remains pending. Please have the reporter verify #31133 after merge. Approved by: @XuPeng-SH
## What type of PR is this? - [ ] API-change - [ ] BUG - [x] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: - #31133 ## What this PR does / why we need it: Removes shortest-value text formatting and reparsing from successful DOUBLE-to-DECIMAL64/128 fallback conversions. A private Go 1.27.1 numerical coefficient/exponent primitive preserves shortest-decimal rounding, the existing common-value shortcut, exact integral Decimal128 conversion and cast diagnostics. It includes a reproducible, attributed fixed power table. This follows merged #31191 (rounding correction), #31279 (common-value shortcut) and #31305 (coverage and measurement). The returned concern was remaining conversion work; the original rounding fix remains intact, including `CAST(1.005e0 AS DECIMAL(10,2)) = 1.01`. Existing error/retry formatting and Decimal256 conversion are unchanged. Validation: owning types/function tests, 137,168 shortest-pair checks, 5,719 rational rounding cases, scalar allocation checks, generator reproduction, incremental vet/lint, and two normal 89-statement real-service BVT runs, including metadata, strict rollback and prepared DOUBLE rebinding. Paired five-sample conversion benchmarks on Apple M4 / Go 1.27.1 reduce fallback scalar medians by 38–79% and vector medians by 35–76%, within control budgets and with zero scalar allocations. A bounded 16M-row A–B–B–A SQL experiment verified all outputs but showed substantial host drift; query throughput benefit remains undetermined. An initially slower integral INSERT control did not repeat in one bounded follow-up. Remote CI is pending. Please have the reporter verify #31133 after merge. CI repair validation (`470a2a0191f9f41ee9455e42a8f59e37e0e7165a`): preserves the Go-derived BSD headers and adds three exact license-eye path exclusions. Newly executed `license-eye -c .licenserc.yml header check` passed (6,983 files, zero invalid), `license-eye -c .licenserc.yml dep check` passed, and an unlicensed neighboring Go-file control was correctly rejected. Build and [coverage UT](https://github.com/matrixorigin/matrixone/actions/runs/40447443739/job/122002065623) results from `8467a69b316f16529042c211fb87a32f2220e57e` are reused because all executable sources, tests and build inputs are unchanged. Full SCA on this repair remains pending. --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: XuPeng-SH <[email protected]>
…vecf4 vector columns (#20567) (#29554) ## What type of PR is this? - [x] API-change - [x] BUG - [x] Improvement - [x] Documentation - [x] Feature - [x] Test and CI - [x] Code Refactoring ## Which issue(s) this PR fixes: Related to #20567. ## What this PR does / why we need it: Introduce scalar `bf16`, `float16`, `float8` (E4M3), `float4` (E2M1), and block-scaled vector columns `vecf8(N)` / `vecf4(N)`, with shared codecs, float32 expression promotion, casts, comparison, storage, import/export and MySQL transport. Existing key/domain restrictions and canonical finite-value contracts remain enforced. `VECTOR_MATMUL` retains bounded configuration/accounting, state merging and CPU execution; GPU execution keeps its documented numerical and device-admission limits. Designs: `docs/design/20260929-low-precision-scalar-floats.md` and `docs/design/20260930-low-precision-vector-storage.md`. SQL reference for the vector types: `docs/sql/vector-distance-functions.md`. ### Rebase and review corrections Rebased the exact cumulative feature tree onto main `3c07fac240311d6f2b706674614ed6034e97ff79`. The original 159 commits, including 32 merges, are preserved in an archive ref and exact raw-object manifest; author attribution is retained in the snapshot commit. All 48 overlapping paths and nine conflicts were reconciled; main-only files are preserved. - Narrow scalar `RowToString` now formats widened numeric values, rather than integer backing codes. This repairs checkpoint SQL-LOAD CSV round trips (for example, `1.5` must remain `1.5`). Normal/constant/NULL handling uses the shared vector owner; raw serialization and ordinary scalar cases are unchanged. - Block-scaled ODKU keeps byte-identical comparison fast, then uses the existing decoded-value comparator. Differently encoded equal cells remain no-ops: no unnecessary write, changed-row count or implicit ON UPDATE change. UPDATE's changed-row predicate (also the guard for automatic ON UPDATE expressions) compares vecf8/vecf4 cells with `<=>` directly, without casting both sides to vecf32. - `ALTER TABLE ... ADD COLUMN c <bf16|float16|float8|float4> NOT NULL` without a `DEFAULT` backfills existing rows with `0`, as `FLOAT` does (COPY and default algorithms); the implicit NOT NULL value previously fell through to `null`. - Main's mixed JSON/numeric comparison covers bf16/float16/float8/float4 as it covers `FLOAT`: a JSON number is rounded and range-checked as CAST to the type does it, and a JSON string, object or array never equals a number (`'"1.5"'` is not `1.5`). Before this, JSON compared with these types kept the old cast-to-float path. - Where `FLOAT` works, bf16/float16/float8/float4 now behave the same (found by running each SQL feature on `FLOAT` and on the new types): a user variable holding one of these values computes in DOUBLE; a constant expression compared with the column (`a = ABS(-0.1)`) is folded and rounded as a literal is; hex and bit literals are unsigned integers; JSON, YEAR and ENUM cast as they cast to `FLOAT`; text that is not a number converts to its numeric prefix with `FLOAT`'s warning in MySQL mode (values outside the type's finite range still error); `SERIAL` encodes the stored bits in tuple elements of their own type, ordered as the values, and `SERIAL_EXTRACT` returns them; `INFORMATION_SCHEMA.COLUMNS.NUMERIC_PRECISION` is the significand bits (8/11/4/2). - `TestTypeSwitchFamilies` also checks `==`/`!=` chains and `[]types.T`/`map[types.T]` literals that name part of a type family; the existing sites were reviewed and baselined. - An empty string or empty `BLOB` is not a vector: a cast, `INSERT … VALUES`, `INSERT … SELECT`, a prepared parameter or an `UPDATE` with it is an error for every vector type, as `''` is for an `INT` column (before, `vecf32` errored on `VALUES ('')` but stored NULL for `INSERT … SELECT ''` and a prepared `''`; vecf8/vecf4 stored NULL on every path). NULL stays NULL; `LOAD` still reads an empty field as NULL. - Upgrade and function identities: MatrixOne upgrades by full-cluster shutdown only (`.agents/skills/mo-dev/references/upgrade-compatibility.md`, main #31287), so the types and functions take no MORPC version and no capability gate; the branch's earlier low-precision protocol gate (remote placement, execution-stream confirmation, persisted-expression floor, column-authoring fence) is removed, and main's existing gates are unchanged. The types are additive persisted state: data written before them reads as before (merges `0bf7ad2bf8`, `3b5ebd55d3`, `0bce000fa2`, `334d14ae91`, `8841673f3e`, `64573711a1`, `ba4f725d19`, `4d5938c30a`, `56ac42ed39`, `9cf7b69221`, `1543470717`, `9a51b315ec` and `6943941198`, main `24c1ac897b`). VECTOR_MATMUL, VECBLOCK_JSON and VECBLOCK_BINARY take the next free function ids after main's, and `aggexec.AggIdOfVectorMatmul` follows VECTOR_MATMUL; main's function ids are unchanged, and only the end marker advances. Main's TIMESTAMPADD SECOND float switch is tagged `typeswitch:partial`: bf16/float16/float8/float4 counts widen to float32 at resolution. Main's in-memory sort-key filter switch (`encodeMemSortKeySpecs`) is tagged `typeswitch:partial`: the four types are rejected as primary and cluster keys. Main's quantileExactWeighted casts these arguments to FLOAT when it resolves, so its switches are tagged; main's indicator window kernels and local ranks read them as float32, which holds them exactly, and return what FLOAT returns. Text converts as main's FLOAT conversion (#31191) does: radix text is its integer value, other text its decimal prefix (`'inf'`/`'nan'` are 0), and truncated text in a strict INSERT/UPDATE is an error. Main now escapes every CSV export value in `formatOutputString`; the vecf8/vecf4 export case passes the raw text instead of escaping it a second time. Main moved the AVX-512 metric loops into `//go:noinline` helpers; the branch's VZEROUPPER clear (`archsimd.ClearAVXUpperBits`) is in each helper. - VECTOR_MATMUL compaction and merge sort one `q` × `topk` index array, allocated through the aggregate's allocation account and counted by `Size`, instead of maps on the Go heap (review P2). Merge preflight allocates that array for every merge target, so a merge that passes preflight cannot fail on it in `BatchMerge` (review P2). - The tuple decoder decodes a bf16/float16/float8/float4 zero of either sign as +0 and rejects NaN and infinite elements, so SERIAL_EXTRACT of a hand-built tuple cannot store -0 or NaN (review P2). - VECTOR_MATMUL fill and flush stay inside the allocation account: a string id is offered from the input vector and a numeric or UUID id from a fixed 36-byte buffer, the CPU scorer reuses one operand per executor, and Flush writes each group's ByteJson straight into the accounted result vector (no JSON text, no reparse) with one accounted `topk` sort scratch; its configuration parse is admitted before it allocates (the account is attached first and a non-allocating bound reserved); a fractional or exponent-form distance is encoded without the integer parsers' error allocation (review P2). - Exact block-cell text keeps a stored negative-zero element: `vecblock_json` prints `-0`, and parsing it now restores the negative-zero code (E4M3 `0x80`, E2M1 `0x08`) instead of code 0, so export/reload no longer changes cell bytes. JSONL `LOAD` writes an object value back with its original number lexemes, so a `-0` element reloads to its negative-zero code in both the object and array formats. The quantizing encoder still stores a computed zero as code 0. A number in the exact text must denote its float32 value without rounding (the exact value, or its shortest float32 or float64 text, in any notation); `1.00000001`, which float32 parsing rounds to `1`, is rejected. - bf16/float16 range: a value just above the largest finite value (`65505` for float16) is out of range although it rounds back to the maximum. Casts and writes reject it and comparisons with it stay wide; the same applies to the vecbf16/vecf16 text parser, the vector narrowing cast and `VECTOR_MATMUL` queries. A bf16 text or wider source is checked by its float32 value, so the printed maximum `3.3895314e+38` loads back. Comparison narrowing of a literal or prepared parameter uses the same admission rule as CAST, so that printed maximum also narrows and matches the row it was inserted as. Narrowing applies only when the other operand is a low-precision column, for literals and prepared parameters alike (`CAST(1.1 AS FLOAT4) = 1.1` and `= ?` both compare wide), and a decimal literal of any width, including a numeral beyond `DECIMAL(38)`, narrows by its exact value. - `VECTOR_MATMUL` rejects a JSON `null` query coordinate or query (`query i: coordinate j is null`) instead of reading it as 0, for every supported column type. A supplied options argument that is empty text or `NULL` (including a NULL user variable) is an error rather than the defaults, and a `NULL` queries argument is an error; an omitted options argument still selects the defaults. - Main's exponentially weighted window statistics (`ewmMean`/`ewmVar`/`ewmStd`/`ewmCov`/`ewmCorr`, #31941) take bf16/float16/float8/float4 samples, alpha/half-life, policy arguments and event-time `ORDER BY` keys as they take `FLOAT`, and return what `FLOAT` returns; main's parallel UNION ALL projection admits these types as IFF conditions as `IffConditionTruthyAt` reads them. Main's new fixed-key hash fast path copies their bytes: a zero of either sign is stored as +0, so the bytes are the key. The two EWM switches that read `plan.Literal` are tagged `typeswitch:partial` (no literal carries these types). Main #31488 removed `pkg/iscp` `copyBytes`; the vecf8/vecf4 row extraction uses `CloneBytesAt` as main's other cases do (merge `cd4d31b4f3`). - `docs/sql/vector-distance-functions.md` (main #31896) covers vecf8/vecf4: the block layout and quantization, the argument types each distance pairs with (vecf8, vecf4, vecf32, vecf64; not the other narrow types), precision (rounded into the float32 domain except `l2_distance_sq`), the dimension-mismatch error, every function's result type (`subvector`/`abs`/arithmetic return vecf32, `sqrt` vecf64, `normalize_l2` and the copying functions the argument's type), the accepted casts (text, vecf32, vecf8↔vecf4), `vecblock_json`/`vecblock_binary`, and that no index or key accepts the types. Each statement has a line in `cases/vector/vector_distance_semantics.sql`; the CAGRA/IVF-PQ rejections are in `gpu_cases/vector/vector_distance_semantics_gpu.sql` (`0b32a9a9f0`). - Shared authoring, feature collection, placement, destination, actual execution stream and receiver checks compose requirements with `max`. Main's charset migration, COPY strict assignment, diagnostics/folding and prepared exact-source behavior are retained. The 16-byte Type layout and existing protobuf fields are unchanged. ### Validation - Local CPU native compilation succeeds through the repository provenance owner; verified thirdparty artifacts were copied into task-owned storage, then CGo rebuilt once. - Focused normal checks pass (9 roots/119 including subtests), along with complete types/vector/keycodec/metric/aggexec owner coverage (1,289 roots/5,555 nodes; the previously covered RowToString test is reused). - Selected integration checks pass across 30 CPU packages (147 roots/569 nodes), including export/LOAD, parser/planner/prepared binding, storage/WAL/zonemap and actual SQL ODKU behavior. - One race pass succeeds for the five owners and the integration closure (155 integration roots/682 nodes). Two allocation-measurement tests intentionally skip under race; their normal-mode passes are retained. - Configured incremental SCA covers 45 CPU packages derived from the delivery diff and build constraints; golangci-lint2.14 reports zero issues. The only new molint advisory, an unsafe import used for a size calculation, is removed using standard type metadata at configuration construction. Existing VECTOR_MATMUL tests pass normally and with race after cleanup; owning-package SCA again reports zero issues. The remaining 47 advisory locations map to unchanged base code. - Parser reproduction, function-identity/main-only preservation, Type-layout comparison, formatting and diff checks pass. Generated metric-kernel consistency is exercised by owner tests. - Required gpt-6.1-sol/xhigh design, complete review and final cleanup review pass. Commands, fingerprints, terminal receipts and model session IDs are retained in the task record. Go1.27.1/darwin-arm64, repository CGo runner. The fixes add no new retained state, locks or execution framework. The size query runs only during block-scaled matmul configuration; decoded equality's extra linear work is limited to differently encoded block vectors. Ordinary scalar DML paths retain their previous code. Author run at `e9fc0a159e` (after merging main `e033d4a587`, GPU build): every `pkg/` test package compiles; the affected Go packages and `TestTypeSwitchFamilies` pass; golangci-lint v2.14.0 reports no issues in the changed packages; BVT `-m run` 0 failures: `cases/dtype` 8856 (32 ignored), `cases/array` 1501/1501, `cases/vector` 3460 (2 ignored), `cases/load_data` 1607 (5 ignored), `cases/function` 22490 (150 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `eebad1d1ac` (merge-preflight fix, GPU build): `pkg/sql/colexec/aggexec` and `pkg/sql/colexec/group` pass; the new and related tests pass `-race -count=20`; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/vector/vector_matmul.sql` 109/109, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `6943941198` (after merging main `24c1ac897b`, clean GPU rebuild): `TestTemporaryTablePhysicalNameIsSessionScoped` 5/5 (the CI failure on `eebad1d1ac` was the ISCP fixture race main fixed in #31288), `TestTypeSwitchFamilies`, `pkg/container/types`, `pkg/sql/plan/function`, `pkg/sql/colexec/aggexec` and `pkg/sql/colexec/group` pass; every `pkg/` test package compiles; BVT `-m run` 0 failures: `cases/dtype` 8856 (32 ignored), `cases/array` 1501/1501, `cases/vector` 3460 (2 ignored), `cases/load_data` 1607 (5 ignored), `cases/function` 22490 (150 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `64b29a2034` (tuple-decoder fix, GPU build): `pkg/container/types` (with `TestTypeSwitchFamilies`), `pkg/sql/plan/function` and `pkg/sql/colexec/...` pass; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/dtype` 8871 (32 ignored), `cases/function` 22490 (150 ignored). Author run at `c22e8a35d4` (aggregate memory audit, GPU build): `pkg/sql/colexec/aggexec` (with and without the `gpu` tag) and `pkg/sql/colexec/group` pass; the new and accounted fill/merge tests pass `-race -count=10`; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/vector/vector_matmul.sql` 109/109, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71, `cases/vector` 3460 (2 ignored), `cases/array` 1501/1501. Author run at `c6480649e5` (fractional-distance flush allocation): `pkg/sql/colexec/aggexec` (with and without the `gpu` tag, and under `-race`) and `pkg/sql/colexec/group` pass; the flush allocation tests pass `-race -count=10`; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/vector/vector_matmul.sql` 109/109, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71, `cases/vector` 3460 (2 ignored). Author run at `af8bbc4f60` (merge of main `802376360c`, no conflicts; function ids unchanged): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/sql/plan/function`, `pkg/sql/plan`, `pkg/sql/colexec/aggexec`, `pkg/sql/colexec/group` and `pkg/vectorindex/hnsw/...` pass; BVT `-m run` 0 failures: `cases/dtype` 8895 (32 ignored), `cases/function` 22527 (150 ignored), `cases/vector` 3499 (2 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71, `pessimistic_transaction/vector/vector_hnsw_delete_insert.sql` 56/56 ×3. Author run at `eead4d0574` (merge of main `d4ffbae43d`; `mysql_sql.go` regenerated from the merged `mysql_sql.y`, 0 grammar conflicts; function ids unchanged): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/sql/plan`, `pkg/sql/plan/function`, `pkg/sql/colexec/aggexec` and `pkg/sql/parsers/...` pass; BVT `-m run` 0 failures: `cases/dtype` 8895 (32 ignored), `cases/function` 22550 (150 ignored), `cases/vector` 3499 (2 ignored), `cases/dml/insert` 3090 (22 ignored), `cases/load_data` 1609 (5 ignored), `pessimistic_transaction/vector/vector_hnsw_delete_insert.sql` 58/58, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `d57e5e560d` (SERIAL_EXTRACT validates vecf8/vecf4 cells, review P2): `pkg/sql/plan/function` and `pkg/container/types` pass; `TestSerialExtractBlockScaledCell` fails on all 12 invalid-input subtests without the check; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/dtype` 8906 (32 ignored; `dtype/vecblock.sql` 253/253 twice), `cases/function` 22550 (150 ignored), `cases/vector` 3499 (2 ignored). Author run at `4ecd752f61` (merges of main `1fd12d526e` and `7e0c9d94fc`; `array_str.go` conflict resolved keeping exact bf16/f16 element rounding with main's context-aware errors; `mysql_sql.go` regenerated with goyacc, 0 conflicts; `7b55465b2c` classifies the new types in main's sort-rollup type switch, with a ROLLUP BVT under `SORT`/`HASH`/`COST`): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/sql/plan`, `pkg/sql/plan/function`, `pkg/sql/colexec/aggexec`, `pkg/vectorindex/...` (metric also with `GOEXPERIMENT=simd`) and `pkg/sql/parsers/...` pass; BVT `-m run` on a fresh data dir: `cases/dtype` 8916 (32 ignored), `cases/function` 22597 (150 ignored), `cases/vector` 3498 + 1 flake (2 ignored; `vector_ivf_membership.sql` row 163 read `table_stats` right after `mo_ctl` flush, 160/160 on 3 reruns), `cases/array` 1501, `cases/hint` 662, `cases/load_data` 1609 (5 ignored), `cases/fulltext` 1978 (3 ignored), `cases/auto_increment` 924, `cases/ddl` 8825 (168 ignored). Author run at `410761af13` (merge of main `23488e1eb2`: conflicts in `export.go`, `func_builtin_jq.go`, `func_cast_test.go` resolved onto main's new helpers, `mysql_sql.go` regenerated with goyacc, usearch rebuilt for main's new tarball; `a3a9dbf506` classifies the new types in seven new main type switches (float text formatting counts the low-precision types; six tagged partial with reasons); `410761af13` follows main's MySQL float text in the low-precision BVTs, matching `FLOAT`/`DOUBLE`/`vecf32`, and checks the bf16 maximum's new six-digit text loads back): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/sql/plan`, `pkg/sql/plan/function`, `pkg/sql/colexec/{aggexec,window,table_function,external}`, `pkg/vectorindex/...` (metric also with `GOEXPERIMENT=simd`) and `pkg/sql/parsers/...` pass; golangci-lint reports no issues; BVT `-m run` on a fresh data dir: `cases/dtype` 8916 (32 ignored; `lowprec_float.sql` 431/431, `vecblock.sql` 253/253 after the text update), `cases/function` 22669 (150 ignored), `cases/vector` 3496 + 3 flakes (2 ignored; `vector_ivf_membership.sql` `table_stats` right after `mo_ctl` flush, 160/160 on 3 reruns), `cases/array` 1501, `cases/hint` 671, `cases/load_data` 1609 (5 ignored), `cases/fulltext` 2009 (3 ignored), `cases/window` 2792 (7 ignored), `cases/auto_increment` 924, `cases/ddl` 8825 (168 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `ecd90a635f` (review fixes: vecf8/vecf4 sort compares cells in place; hash-key preflight sizes the canonical vecf8/vecf4 key; VECTOR_MATMUL configuration admitted before parsing; volatile/real-time configuration rejected; JSON options accepted): `pkg/sort`, `pkg/common/hashmap/...`, `pkg/sql/colexec/aggexec` (with and without the `gpu` tag), `pkg/sql/colexec/group`, `pkg/sql/plan`, `pkg/sql/plan/function`, `pkg/sql/compile` and `pkg/container/types` pass; admission, shared-configuration and sort tests pass `-race -count=10`; golangci-lint reports no issues; BVT `-m run`: `cases/dtype` 8917 (32 ignored), `cases/function` 22668 + 1 timing flake (`func_datetime_now.test`, 50/50 on rerun), `cases/vector` 3505 (2 ignored), `cases/array` 1501, `cases/window` 2792 (7 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `e38b4def66` (CI fix for `TestVectorMatmulParseBoundCoversParse`: JSON queries are decoded once, the row scan finds a null query or coordinate, and the parse bound carries a 2x margin, at least 2.89x over the measured allocation): `pkg/sql/colexec/aggexec` passes 5 times in a row, with the `gpu` tag, under `-race`, and without the simd experiment with coverage. Author run at `96cb007bc9` (review P2: the admission bound reads neither options nor query values; options and JSON queries are parsed in one `sonic/ast` SAX pass, query values rounded once from their text to float32): `pkg/sql/colexec/aggexec` passes 3 times in a row and with the `gpu` tag; the options, rounding, scan and admission tests pass `-race -count=5`; golangci-lint reports no issues; BVT `-m run`: `vector/vector_matmul.sql` 119/119, `dtype/vecblock.sql` 253/253, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `8bc61f7f3f` (merge of main `b01e952ad1`, `partition.go` keeps main's JSON partitioning and the new types' cases; self-review fixes: the JSON row scan follows at most 8 levels, options and vecblock queries are checked with `encoding/json.Valid` (nesting limit, trailing text), duplicate-key error text, vecblock and binary bound terms, limit checks before options with or without an account, every aggregate factory attaches the account before the configuration): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/sql/colexec/aggexec` (with and without the `gpu` tag), `group`, `window`, `timewin`, `compile`, `hashmap`, `function`, `partition`, `sort`, `plan` and the parsers pass; the new and affected tests pass adaptive `-race -count` (N 25 to 100) and the owning packages once under `-race`; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/vector` 3509 (2 ignored), `cases/dtype` 8991 (32 ignored), `cases/function` 22708 (150 ignored), `cases/window` 2826 (7 ignored), `cases/array` 1501, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `6e2a82ae52` (sonic v1.15.5, whose native decoder rounds float32 twice (bytedance/sonic#884), so float32 HNSW CDC batches decode with `encoding/json`; vecblock JSON queries validated before their elements are collected; self-review fixes): `pkg/sql/colexec/aggexec` (with and without the `gpu` tag, once under `-race`), `pkg/vectorindex`, `pkg/vectorindex/hnsw/...`, `pkg/iscp`, `pkg/sql/colexec/table_function`, `pkg/sql/plan`, `pkg/catalog` and `pkg/fulltext2/...` pass; new tests pass adaptive `-race -count`; golangci-lint and molint report no issues; BVT `-m run` 0 failures: `cases/vector` 3509 (2 ignored), `pessimistic_transaction/vector` 927 (42 ignored), `cases/dtype` 8991 (32 ignored), `cases/fulltext` 2009 (3 ignored), `pessimistic_transaction/fulltext2` 932/932, `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `daef3c9f06` (GROUP_CONCAT selects its accounted DISTINCT mode from both `SetAllocationAccount` and `SetExtraInformation`, so the Group factory's account-first order keeps `DISTINCT ... ORDER BY` on the ordered representation; regression `TestGroupConcatAccountedDistinctModeIndependentOfOrder` fails without the fix): `pkg/sql/colexec/aggexec` (also once under `-race`), `group`, `window` and `timewin` pass; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/function` 22708 (150 ignored), `cases/vector/vector_matmul.sql` 119/119. Author run at `820f57e2d5` (merge of main `950e548b5a`; full-PR review fixes: IF/IFF/CASE/COALESCE mixing a low-precision float with another type resolve as with `float32`, Parquet export writes vecf8/vecf4 as the exact cell text, the low-precision scalars format as numbers in tuple and debug printers, `subvector` on vecf8/vecf4 returns `vecf32`): `pkg/container/types`, `pkg/sql/plan/function`, `pkg/sql/plan`, `pkg/frontend`, `pkg/sql/colexec/aggexec`, `group`, `tae/common`, `tae/index` and `logtailreplay` pass; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/dtype` 8997 (32 ignored), `cases/function` 22924 (150 ignored), `cases/array` 1517, `cases/vector` 3531 (2 ignored); at the merge `ee08413830`, `cases/window` 2826 (7 ignored) and `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `c592c6ac3b` (merge of main `d39d8a4034`: main's DECIMAL UNSIGNED admission took the next function ids, so `vector_matmul`, `vecblock_json` and `vecblock_binary` take the ones after it; DECIMAL UNSIGNED admits bf16/float16/float8/float4 as it admits FLOAT; `subvector` on vecf8/vecf4 documented as returning `vecf32` equal to `subvector` over the `vecf32` cast): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/container/vector`, `pkg/sql/plan/function`, `pkg/sql/plan`, `pkg/sql/colexec/aggexec`, `pkg/tools/checkpointtool` and the parsers pass; golangci-lint reports no issues; BVT `-m run` 0 failures: `cases/dtype` 9159 (32 ignored), `cases/function` 22924 (150 ignored), `cases/vector` 3531 (2 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `42eeeb2a77` (merge of main `c8534cc3e2`: main kept the previous IF/CASE checkers as the native-mode copies and the branch's low-precision CASE handling had merged into the native copy only, so both modes now carry it and the conditional tests run in both modes; main's new TOP pruning excludes vecf8/vecf4 as it excludes the other float arrays; GPU-tagged static analysis): `TestTypeSwitchFamilies`, `pkg/container/types`, `pkg/common/hashmap/...`, `pkg/sql/util`, `pkg/sql/colexec/top`, `aggexec`, `group`, `pkg/sql/plan/function`, `pkg/sql/plan` and `pkg/vectorindex/...` pass in the GPU build; BVT `-m run` 0 failures: `cases/dtype` 9438 (32 ignored), `cases/function` 22976 (150 ignored), `cases/vector` 3531 (2 ignored), `cases/array` 1517, `cases/window` 2838 (7 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71, `cases/vector/vector_matmul.sql` 119/119. **GPU-tagged static analysis** (CI's `static-check` passes no build tag, so `//go:build gpu` files are not analyzed there): the configured analyzers with the GPU include paths of `MO_CL_CUDA=1` and the `gpu` tag, over `./...` — `molint check -mod=readonly -tags gpu ./...` and `golangci-lint run -c .golangci.yml --build-tags gpu ./...` (golangci-lint v2.14.0). On the merge they reported two findings in files this PR adds: `checkunsafe` in `pkg/cuvs/blockscaled_matmul.go` and `prealloc` in `pkg/cuvs/blockscaled_matmul_test.go`; `42eeeb2a77` passes the C pointers through `util.UnsafePointer` and preallocates. On `42eeeb2a77` the findings equal those of the same commands on main `c8534cc3e2`: 16 molint `checkunsafe` in GPU files this PR does not change (`pkg/cuvs/{adhoc,brute_force,cagra,device_memory,distance,helper,helper_test,ivf_flat,ivf_pq,kmeans}.go`, `table_function/{filter_helper,ivfpq_create}_gpu.go`, `{cagra,ivfpq}/probe_gpu.go`, `{cagra,ivfpq}/plugin/search/search_gpu.go`) and 1 golangci `ineffassign` in `pkg/cuvs/search_float_test.go` (unchanged); 0 new. Author run at `dbfa3ad95e` (GPU-tagged static-analysis findings fixed, including those main already had: the GPU table functions and the CAGRA/IVF-PQ search and probe files use `util.UnsafeToBytes`, `util.UnsafeSliceCast` and `util.UnsafeSizeOf`; `pkg/cuvs` no longer imports `unsafe`: its cgo calls pass pointers through `util.UnsafePointer`, and the pinned host-memory API and the VRAM reservation token hold the C pointer as `*byte`; a `pkg/cuvs` test no longer assigns a value it overwrites): `molint check -mod=readonly -tags gpu ./...` (the version `Makefile` pins) and `golangci-lint run -c .golangci.yml --build-tags gpu ./...` (v2.14.0), with the GPU include paths of `MO_CL_CUDA=1`, report 0 findings; GPU unit tests pass for `pkg/cuvs/...`, `pkg/vectorindex/...`, `pkg/sql/colexec/table_function` and `pkg/sql/colexec/aggexec`; BVT `-m run` of `test/distributed/gpu_cases` passes 1959/1959 (64 files). Author run at `f5fad15240` (merge of main `c42cf40214`: main's `MO_INDEX_SUB_PART` took the next function id, so `vector_matmul`, `vecblock_json` and `vecblock_binary` move to the ids after it; main's other commits do not touch GPU-tagged files or `pkg/cuvs`, so the GPU-tagged static analysis of `dbfa3ad95e` still applies): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/container/vector`, `pkg/sql/plan/function`, `pkg/sql/plan`, `pkg/sql/colexec/aggexec` and `group` pass; BVT `-m run` 0 failures: `cases/vector` 3531 (2 ignored), `cases/dtype` 9438 (32 ignored), `cases/function` 22976 (150 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71. Author run at `63b315eec7` (main's new `parquet_vector_nonfinite.sql` expects main's message for a `vecf16`/`vecbf16` element above the type's range; this PR rejects such an element as out of range, naming the type and the input value, as the scalar `float16`/`bf16` types do, so the expected result is updated; both inserts are still rejected): `cases/load_data` BVT `-m run` 1730 (5 ignored), 0 failures; the other cases with that message (`dtype/vecblock`, `vector/vector_nonfinite_conversion`, `array/array_nonfinite`) pass. Author run at `0b32a9a9f0` (merge `cd4d31b4f3` of main `0df8dded57`: main's EWM window functions took the next function ids, so `vector_matmul`, `vecblock_json` and `vecblock_binary` move to the ids after them, and `aggexec.AggIdOfVectorMatmul` follows; `mysql_sql.go` regenerated from the merged `mysql_sql.y`; then the vecf8/vecf4 reference doc `0b32a9a9f0`; GPU build): `pkg/container/types` (incl. `TestTypeSwitchFamilies`), `pkg/sql/plan/function` (incl. `TestAggregateExecutorIDs`), `pkg/sql/colexec/aggexec`, `pkg/sql/plan`, `pkg/sql/compile`, `pkg/sql/colexec/window/...`, `pkg/common/hashmap`, `pkg/iscp` and the parsers pass; `go vet` of `./pkg/... ./cmd/...` (gpu tag) reports nothing; BVT `-m run` 0 failures: `cases/vector` 3721 (2 ignored), `cases/dtype` 9476 (32 ignored), `cases/window` 3222 (7 ignored), `cases/function` 23144 (150 ignored), `gpu_cases/vector/vector_matmul_gpu.sql` 71/71, `gpu_cases/vector/vector_distance_semantics_gpu.sql` 50/50. In the `cases/function` directory run, `func_datetime_now.test` row 122 (`timestampdiff` of two `now()` values around `sleep(1)` ≥ 1 s) returned 0 in an overnight run where `func_math_floor.test` took 40793 s and `window.sql` 18395 s; rerun of the three files: 50/50 (6.9 s), 95/95 (3.1 s) and 1106/1106 (55 s). Author run at `1543470717` (after merging main `be66367687`, GPU build): the affected Go packages and `TestTypeSwitchFamilies` pass; every `pkg/` test package compiles; BVT `-m run` 0 failures: `cases/dtype` 8738 (32 ignored), `cases/array` 1501/1501, `cases/vector` 3460 (2 ignored), `cases/load_data` 1607 (5 ignored), `cases/function` 22196 (150 ignored), and the case file the merge changed. JSONLINE keeps main's NULL rule: only JSON `null` is NULL, a JSON string `"\N"` is text, and `$binary` payloads round-trip byte-exact. Author run at `9cf7b69221` (after merging main `5fb586e142`, GPU build): the affected Go packages and `TestTypeSwitchFamilies` pass; BVT `-m run` 0 failures: `cases/dtype` 8738 (32 ignored), `cases/array` 1501/1501, `cases/vector` 3460 (2 ignored), `cases/load_data` 1607 (5 ignored), and the 3 case files the merge changed. Author run at `1575c6a696` (after merging main `e19f698de0`, GPU build): every `pkg/` test package compiles; `TestTypeSwitchFamilies` and the affected Go packages pass; golangci-lint v2.14.0 reports no issue in the PR's packages; BVT `-m run` 0 failures: `cases/dtype` 8738 (32 ignored), `cases/array` 1501/1501, and the 11 case files the merge changed; `cases/vector` 3449 of 3460 (2 ignored) in the run right after the restart, where three HNSW/IVF files missed the index plan, and those three files pass 89/89 when rerun. Author run at `7af7fc1618` (after `b2e09f6b5e`, and `9d4e8b3130`: affected Go packages pass, BVT 0 failures for `cases/vector` 3455, `cases/array` 1501, `cases/dtype` 8738, `gpu_cases/vector` 1360, `cases/function` 22118, `cases/load_data` 1578, `cases/prepare` 4129, `cases/dml` 7936; `TestTypeSwitchFamilies` and the affected Go packages pass; BVT `-m run` 0 failures: `cases/dtype` 8738 (32 ignored), `cases/vector` 3410 (2 ignored), `gpu_cases/vector` 1360/1360, `cases/function` 22118 (150 ignored), `cases/array` 1501/1501, `cases/load_data` 1578 (5 ignored), `cases/ddl` 8610 (168 ignored), `cases/prepare` 4129 (1 ignored), `cases/table` 2019 (19 ignored), `cases/dml` 7936 (120 ignored))) on a real device (GPU build, `MO_CL_CUDA=1`): `TestTypeSwitchFamilies` and the affected Go packages pass (`container/types`, `sql/plan/...`, `sql/compile`, `aggexec`, `external`, `externalwrite`, `frontend`, `pb/plan`, `defines`); each new regression fails with the fix reverted. BVT `-m run`, 0 failures: `cases/dtype` 8672 (32 ignored), `cases/vector` 3398 (2 ignored), `gpu_cases/vector` 1360/1360. GPU-tagged static analysis reports no findings on `dbfa3ad95e` (see the author run at `dbfa3ad95e`). Device-scale performance remains **pending**, not counted as a pass; no current end-to-end speedup claim is made. Rolling deployment does not apply: MatrixOne upgrades by full-cluster shutdown only. CPU evidence does not establish GPU acceptance; the documented approximation/subnormal limits remain in force. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: XuPeng-SH <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: fengttt <[email protected]>
What type of PR is this?
Which issue(s) this PR fixes:
What this PR does / why we need it:
DOUBLE conversions to DECIMAL64/128 now round the shortest decimal representation, so
CAST(1.005e0 AS DECIMAL(10,2))returns1.01. Existing exact integral conversion is preserved.In MySQL mode, textual
inf/nanvalues follow decimal-prefix conversion: zero with a warning, or an error in strict assignments. Direct assignments report 1265; explicit casts in strict DML report 1292. Prepared statements apply the current mode at execution. Native mode and stored IEEE values retain their existing behavior; branch SQL materialization uses bit casts to preserve infinities.Positive DML context is transported to remote workers. Affected casts and string IF/IFF conditions require protocol 132 at placement, destination, execution stream, receiver and persisted-expression admission.
Validation: owning Go package tests, incremental vet/lint, MySQL 8.0.46 reference checks, two-CN nonempty conversion/rollback/PREPARE probes, and repeated float-cast/IEEE ordering/branch BVT comparisons. Fractional Decimal128 conversion remains allocation-free (~35ns versus ~6ns for the previous binary scaling); integral paths remain close to baseline. Latest CI repair validation is summarized below.
Please have the reporters verify both issues after merge.
CI repair validation at
96adbd2e9d179cf84b288b97700e719fb37eefda(new execution, macOS arm64 / Go 1.27.1): removed the redundant Decimal64 error initialization; migrated IEEE fixtures to typed bit casts; retained non-strict prepared comparison coverage with strict 1292/no-write controls, and strict CTAS rollback before non-strict materialization. MySQL 8.0.46 independently confirmed the mode and IF results.The repository CGo wrapper passed the two affected issue tests in normal mode.
mo-cgo-test -short -tags=matrixone_test -racealso passed both (prepared: 1+4 runs; special-key locks: 1+3). The types owning package passed; incremental lint reports zero issues. Two-CN mo-tester-n -g -ocomparison of eight affected/control files passed twice on one instance: each round 489 successes, 12 existing skips, zero failures/abnormal results; teardown was checked before repetition. Prior unchanged-contract evidence above is reused. Artifact and whitespace checks passed.The separate coverage package-budget/admission timeout in run 40272032472 is tracked in issue 31146. Its 746.6 seconds of measured admission waits exhausted the 20-minute embed package deadline; this PR does not change that harness. Corrective-push CI remains pending; the old mixed failed run is not rerun.