Skip to content

Commit

Permalink
[test](inverted index) fix test case for no need read data (apache#41564
Browse files Browse the repository at this point in the history
)

## Proposed changes

fix regression case for no need read data opt.
  • Loading branch information
airborne12 authored and eldenmoon committed Oct 10, 2024
1 parent 2f7aea1 commit 0e220a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ suite("test_need_read_data", "p0"){
logger.info("show variales result: " + var_result )

sql "INSERT INTO ${indexTblName3} VALUES (1, 1),(1, -2),(1, -1);"
qt_sql "SELECT /*+SET_VAR(enable_common_expr_pushdown=false) */ id FROM ${indexTblName3} WHERE value<0 and abs(value)>1;"
qt_sql "SELECT /*+SET_VAR(enable_common_expr_pushdown=true) */ id FROM ${indexTblName3} WHERE value<0 and abs(value)>1;"
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;"
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;"
}

0 comments on commit 0e220a4

Please sign in to comment.