Repository navigation
Commit 1d85369
committed
[fix](regression) Poll the async query profile before checking inverted index filtering
### What problem does this PR solve?
Issue Number: None
Problem Summary: `test_build_index_read_time_hidden_column` fetched the query profile detail once, right after a profile row with the matching `Sql Statement` appeared, and required `RowsInvertedIndexFiltered` to be present. Backends report the execution profile asynchronously after a query finishes, so the profile row can be listed while the SegmentIterator counters are not merged yet. The nonConcurrent pipeline failed with `RowsInvertedIndexFiltered missing from profile of: select ... as placeholder_index_version ...` even though the query returned the right rows, because the helper read a summary-only profile. The helper now keeps polling the profile detail until the counter appears, bounded by the existing 60s timeout, and only then asserts the filtered-row counts.
### Release note
None
### Check List (For Author)
- Test: Regression test
- `test_build_index_read_time_hidden_column` passed twice on the local cluster built from this head (`doris-local-regression --network 10.26.20.3/24 --offset 23600`).
- Failure evidence: nonConcurrent build 1072324 listed the profile row with the matching SQL but its detail had no SegmentIterator counters; the same suite passed on the previous head in build 1072279.
- Behavior changed: No
- Does this need documentation: No1 parent 691c951 commit 1d85369
1 file changed
Lines changed: 12 additions & 4 deletions
File tree
- regression-test/suites/inverted_index_p0
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | | - | |
81 | | - | |
82 | 83 | | |
83 | | - | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
| |||
0 commit comments