Skip to content

Fix L2DistanceTransposed unexpected return type when input is LowCardinality(Nullable(T))#89397

Merged
rienath merged 1 commit intomasterfrom
fix-l2pass
Nov 3, 2025
Merged

Fix L2DistanceTransposed unexpected return type when input is LowCardinality(Nullable(T))#89397
rienath merged 1 commit intomasterfrom
fix-l2pass

Conversation

@rienath
Copy link
Copy Markdown
Member

@rienath rienath commented Nov 3, 2025

Changelog category (leave one):

  • Critical Bug Fix (crash, data loss, RBAC) or LOGICAL_ERROR

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fix LOGICAL_ERROR in L2DistanceTransposed(vec1, vec2, p) where the optimization for partial QBit reading incorrectly removed Nullable from the return type when p was LowCardinality(Nullable(T)). Resolves #88362.

Details

Fixes #88362

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Nov 3, 2025

Workflow [PR], commit [878eebb]

Summary:

job_name test_name status info comment
Upgrade check (amd_asan) failure
Killed by signal (in clickhouse-server.log) FAIL cidb
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL cidb
Killed by signal (output files) FAIL cidb
Found signal in gdb.log FAIL cidb

@clickhouse-gh clickhouse-gh bot added pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-cloud labels Nov 3, 2025
@Avogar Avogar self-assigned this Nov 3, 2025
@rienath
Copy link
Copy Markdown
Member Author

rienath commented Nov 3, 2025

Red CI is because of #89409

@rienath rienath added this pull request to the merge queue Nov 3, 2025
Merged via the queue into master with commit 08ecc0b Nov 3, 2025
123 of 125 checks passed
@rienath rienath deleted the fix-l2pass branch November 3, 2025 17:50
@robot-ch-test-poll1 robot-ch-test-poll1 added pr-synced-to-cloud The PR is synced to the cloud repo pr-backports-created-cloud deprecated label, NOOP pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Nov 3, 2025
robot-ch-test-poll3 added a commit that referenced this pull request Nov 3, 2025
Cherry pick #89397 to 25.10: Fix `L2DistanceTransposed` unexpected return type when input is `LowCardinality(Nullable(T))`
robot-clickhouse added a commit that referenced this pull request Nov 3, 2025
…n type when input is `LowCardinality(Nullable(T))`
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Nov 3, 2025
clickhouse-gh bot added a commit that referenced this pull request Nov 3, 2025
Backport #89397 to 25.10: Fix `L2DistanceTransposed` unexpected return type when input is `LowCardinality(Nullable(T))`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical error: 'FUNCTION query tree node does not have valid source node after running L2DistanceTransposedPartialReadsPass'

4 participants