This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new dc91f38d821 branch-4.1: [test](regression) Force index pushdown for
multi match null query #65505 (#65547)
dc91f38d821 is described below
commit dc91f38d82125e4cacd04ce471600efa41cdff47
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jul 14 09:16:46 2026 +0800
branch-4.1: [test](regression) Force index pushdown for multi match null
query #65505 (#65547)
Cherry-picked from #65505
Co-authored-by: liangj777
<[email protected]>
---
.../suites/inverted_index_p0/test_multi_match_null_query.groovy | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/regression-test/suites/inverted_index_p0/test_multi_match_null_query.groovy
b/regression-test/suites/inverted_index_p0/test_multi_match_null_query.groovy
index 7b516ca8517..4444f1562f4 100644
---
a/regression-test/suites/inverted_index_p0/test_multi_match_null_query.groovy
+++
b/regression-test/suites/inverted_index_p0/test_multi_match_null_query.groovy
@@ -36,8 +36,10 @@ suite("test_multi_match_null_query", "p0") {
// Disable FE constant folding so NULL is not optimized to VEMPTYSET,
// forcing the predicate to reach the BE inverted index path
(pushAggOp=COUNT_ON_INDEX).
sql "SET disable_nereids_expression_rules = 'FOLD_CONSTANT_ON_FE'"
- sql "SET enable_fold_constant_by_be = 'true'"
- sql "SET enable_sql_cache = 0"
+ sql "SET enable_fold_constant_by_be = true"
+ sql "SET enable_sql_cache = false"
+ sql "SET enable_common_expr_pushdown = true"
+ sql "SET enable_common_expr_pushdown_for_inverted_index = true"
qt_sql "SELECT count() FROM test_multi_match_null_query WHERE body
MATCH_ALL NULL"
qt_sql "SELECT count() FROM test_multi_match_null_query WHERE body
MATCH_ANY NULL"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]