Repository navigation
Conversation
`use_skip_indexes_on_data_read=1` routes reads through the data-read path where `filterMarksUsingIndex` is never called, so `addSkipIndexAccessInfo` is never invoked and `query_log.skip_indices` is always empty. The test must use `use_skip_indexes_on_data_read=0` (mark-selection path) for the skip indices to actually appear in the log. Also set `auto_statistics_types = ''` on all three tables to prevent auto-created `minmax` column statistics from shadowing the `minmax` skip index during granule evaluation, which was the other cause of flakiness. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
|
Workflow [PR], commit [2f1ddb0] Summary: ❌
AI ReviewSummary ClickHouse Rules
Final Verdict
|
But it is not the default. Which means the feature is rendered useless. Should we revert the feature instead? |
It's above my pay grade. OTOH, there is chicken and egg problem with 03632 and 04039 being flaky. I raised 2 different PRs (this and 100988), but they are dead locked on each other flakiness. We can either:
|
|
Apparently it was reverted. |
use_skip_indexes_on_data_read=1routes reads through the data-read path wherefilterMarksUsingIndexis never called, soaddSkipIndexAccessInfois never invoked andquery_log.skip_indicesis always empty. The test must useuse_skip_indexes_on_data_read=0(mark-selection path) for the skip indices to actually appear in the log.Also set
auto_statistics_types = ''on all three tables to prevent auto-createdminmaxcolumn statistics from shadowing theminmaxskip index during granule evaluation, which was the other cause of flakiness.Changelog category (leave one):