Repository navigation
Revert "Text index postprocessor" - #108456
Conversation
|
Workflow [PR], commit [208ee06] Summary: ❌
AI ReviewSummaryThis PR reverts Findings❌ Blockers
Tests
Final VerdictStatus: ❌ Block Minimum required actions: restore the zero/no-match handling for empty |
| continue; | ||
|
|
||
| /// Always return true for empty needles. | ||
| is_always_true[i] = true; |
There was a problem hiding this comment.
Empty token sets are not only a postprocessor case. hasAnyTokens and hasAllTokens also produce tokens.empty() for plain empty needles (for example hasAnyTokens(message, '')), and the row-level function returns 0 when search_tokens.empty(). With this branch removed, the direct-read virtual column is filled with 1 here. A query such as WHERE id = 1 OR hasAnyTokens(message, '') keeps the granule alive via id = 1, then this virtual column makes the OR true for every row instead of only id = 1. Please keep empty hasAnyTokens/hasAllTokens queries as explicit no-match columns here and in the lazy fill path below.
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 282/295 (95.59%) | Lost baseline coverage (was covered on master, now uncovered in this PR): 15 line(s) · Uncovered code |
Cherry pick #108456 to 26.6: Revert "Text index postprocessor"
Backport #108456 to 26.6: Revert "Text index postprocessor"
…t_index_postprocessor Revert "Text index postprocessor"
Reverts #98939
Version info
26.7.1.7526.6.1.1193