Skip to content

Commit b0d661d

Browse files
authored
[test](inverted index) fix test case for no need read data apache#41564 (apache#41582)
cherry pick from apache#41564
1 parent 28bf5ed commit b0d661d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regression-test/suites/inverted_index_p0/test_need_read_data.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ suite("test_need_read_data", "p0"){
136136
logger.info("show variales result: " + var_result )
137137

138138
sql "INSERT INTO ${indexTblName3} VALUES (1, 1),(1, -2),(1, -1);"
139-
qt_sql "SELECT /*+SET_VAR(enable_common_expr_pushdown=false) */ id FROM ${indexTblName3} WHERE value<0 and abs(value)>1;"
140-
qt_sql "SELECT /*+SET_VAR(enable_common_expr_pushdown=true) */ id FROM ${indexTblName3} WHERE value<0 and abs(value)>1;"
139+
qt_sql "SELECT /*+SET_VAR(enable_common_expr_pushdown=false,inverted_index_skip_threshold=100) */ id FROM ${indexTblName3} WHERE value<0 and abs(value)>1;"
140+
qt_sql "SELECT /*+SET_VAR(enable_common_expr_pushdown=true,inverted_index_skip_threshold=100) */ id FROM ${indexTblName3} WHERE value<0 and abs(value)>1;"
141141
}

0 commit comments

Comments
 (0)