fix persisted without deal with distVec#23813
fix persisted without deal with distVec#23813mergify[bot] merged 10 commits intomatrixorigin:mainfrom
Conversation
Review Summary by QodoFix distance vector handling in IVFFLAT TopN pushdown with persisted data
WalkthroughsDescription• Extract output batch filling logic into reusable function • Handle distance vector properly when TopN pushdown applied • Fix panic when scanning persisted IVFFLAT entries with in-memory deltas • Add regression test for mixed persisted and in-memory data scenario Diagramflowchart LR
A["BlockDataReadInner<br/>with TopN pushdown"] -->|extract common logic| B["fillOutputBatchBySelectedRows<br/>new function"]
C["Pre-filter rows path"] -->|call| B
D["No pre-filter with TopN path"] -->|call| B
B -->|properly handle| E["Distance vector<br/>appending"]
File Changes1. pkg/vm/engine/tae/blockio/read.go
|
Code Review by Qodo
1.
|
Merge Queue Status
This pull request spent 57 minutes 32 seconds in the queue, including 57 minutes 17 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
issue #23781
What this PR does / why we need it:
fix persisted without deal with distVec