Repository navigation
Revert "fix(sql): return mathematical dot product from INNER_PRODUCT" (#29711) - #29790
Merged
Merged
Conversation
…atrixorigin#29711)" This reverts commit 9081663.
ck89119
marked this pull request as ready for review
October 9, 2026 10:39
ck89119
requested review from
LeftHandCold,
XuPeng-SH,
aptend,
aunjgr and
fengttt
as code owners
October 9, 2026 10:39
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? |
This branch had an error being 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 #29703. This reverts the fix rather than resolving or closing the issue.
What this PR does / why we need it:
Revert #29711 at the user's request.
This reverts commit
908166384d32e378a72cc3b5ef9e7075603c4e81in full. All 47 reverted paths match the original commit's parent; subsequent unrelated main changes are preserved.INNER_PRODUCT(a, b) = -Σaᵢbᵢsemantics across scalar, batch, narrow-vector, and index score boundaries.Compatibility
Applications migrated for #29711 must undo their score-sign, ordering, and threshold changes when deploying this revert. Index storage formats remain unchanged. Avoid mixing nodes with opposite SQL INNER_PRODUCT semantics.
Validation
On macOS arm64, using Go 1.27.1 from go.mod and freshly rebuilt native prerequisites:
TestIssue28378IVFFlatRemoteLifecyclepassed, including the embedded two-CN IP query and remote lifecycle assertions.make build, matching gofmt, incremental go vet, repository-pinned golangci-lint 2.14.0 (0 issues), and diff checks passed.-g -n) passed for 12 affected CPU BVT files: array, array_vecnarrow, array_vecnarrow_ops, array_vecuint8, vector_finite_extreme, vector_func, vector_index, vector_index_optype_matrix, vector_ivf_mode_advanced, vector_ivf_multicn_search, vector_hnsw, and vector_hnsw_f64.Limits: BVT comparisons did not validate column metadata. The pure revert restores historical golden floating-point tails and metadata, including pairwise headers; strict metadata parity is not claimed. Actual CUDA/GPU execution, standalone/compose multi-CN BVT, and the full issues package suite were not run. The embedded lifecycle UT is two-CN evidence; the local BVT remains single-CN evidence.