This is an automated email from the ASF dual-hosted git repository.
airborne pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new dde1e0f5d7f [test](inverted index) refine test_ignore_above case, add
compound query sql (#40355)
dde1e0f5d7f is described below
commit dde1e0f5d7f5347feb2d6786172427636cc3f60b
Author: airborne12 <[email protected]>
AuthorDate: Wed Sep 4 14:56:56 2024 +0800
[test](inverted index) refine test_ignore_above case, add compound query
sql (#40355)
## Proposed changes
Make test_ignore_above case more robust, add compound query for it.
---
regression-test/data/inverted_index_p0/test_ignore_above_in_index.out | 3 +++
.../suites/inverted_index_p0/test_ignore_above_in_index.groovy | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git
a/regression-test/data/inverted_index_p0/test_ignore_above_in_index.out
b/regression-test/data/inverted_index_p0/test_ignore_above_in_index.out
index 718bd29e5d9..66d0935327d 100644
--- a/regression-test/data/inverted_index_p0/test_ignore_above_in_index.out
+++ b/regression-test/data/inverted_index_p0/test_ignore_above_in_index.out
@@ -5,3 +5,6 @@
-- !sql --
772
+-- !sql --
+971
+
diff --git
a/regression-test/suites/inverted_index_p0/test_ignore_above_in_index.groovy
b/regression-test/suites/inverted_index_p0/test_ignore_above_in_index.groovy
index d6b42661441..bde764fa332 100644
--- a/regression-test/suites/inverted_index_p0/test_ignore_above_in_index.groovy
+++ b/regression-test/suites/inverted_index_p0/test_ignore_above_in_index.groovy
@@ -84,6 +84,7 @@ suite("test_ignore_above_in_index", "p0") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
-
+ sql """ set enable_common_expr_pushdown = true; """
qt_sql "select count() from ${tableName2} where clientip > '17.0';"
+ qt_sql "select count() from ${tableName2} where clientip > '17.0' or
status = 200;"
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]