Skip to content

Commit fbfd8fb

Browse files
morningmanclaude
andcommitted
[fix](test) drop unsupported enable_condition_cache var in ann_range_search cases
The session variable enable_condition_cache does not exist on branch-4.0, so 'set enable_condition_cache=false' fails with 'Unknown system variable' and aborts both suites. These two cases were cherry-picked from master (apache#63666, 0675e24), a separate pick from the earlier apache#63859 ann_index_only_scan cases whose line was already removed in d58d717; this later pick still carried the line. Since the feature is absent, branch-4.0 is already in the cache-disabled state the test expects, so removing the line is a semantic no-op. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent f4ac1ae commit fbfd8fb

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎regression-test/suites/ann_index_p0/ann_range_search_pushdown_regression.groovy‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ suite("ann_range_search_pushdown_regression", "nonConcurrent") {
8181
sql "set profile_level=2;"
8282
sql "set parallel_pipeline_task_num=1;"
8383
sql "set enable_sql_cache=false;"
84-
sql "set enable_condition_cache=false;"
8584

8685
// Case 1: one rowset has an IVF ANN index, while the surrounding small
8786
// rowsets skip ANN index building because they have fewer rows than nlist.

‎regression-test/suites/ann_index_p0/ann_range_search_source_index_status_regression.groovy‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ suite("ann_range_search_source_index_status_regression", "nonConcurrent") {
2222
sql "set enable_no_need_read_data_opt=true;"
2323
sql "set parallel_pipeline_task_num=1;"
2424
sql "set enable_sql_cache=false;"
25-
sql "set enable_condition_cache=false;"
2625

2726
// The source column's index in the scan block differs from its storage
2827
// ColumnId. ANN range search should mark the common expression status by

0 commit comments

Comments
 (0)