Repository navigation
Commit 501aa25
committed
[fix](regression) Account for Lance runtime scan choices
### What problem does this PR solve?
Problem Summary: The array-predicate suite required every segment-grouped query to search its index. The runtime selector can deliberately scan a tiny BTree read domain at lower estimated cost, so correct rows were followed by an expected-one/actual-zero search assertion failure.
Validate requested segments against index searches plus explicit automatic full scans. Preserve exact candidate counts for index searches, require zero candidates for cost-selected scans, and reject unrelated segment fallbacks. Label-only predicates must still search LabelList.
### Release note
None. Regression assertion changes only.
### Check List (For Author)
- Test: actual suite assertion block passed six valid profile paths and rejected five invalid profiles; the old assertion reproduced the failure. Native runtime-selection C API test, full-suite Groovy 4.0.19 parsing, whitespace and clang-format 16 checks passed. Full external execution remains for CI.
- Behavior changed: No product behavior changes.
- Does this need documentation: No.1 parent f1d1441 commit 501aa25
1 file changed
Lines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | 89 | | |
92 | 90 | | |
93 | | - | |
94 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
108 | | - | |
| 116 | + | |
109 | 117 | | |
110 | 118 | | |
111 | 119 | | |
| |||
0 commit comments