You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ai...@apache.org on 2024/09/11 01:05:48 UTC

(doris) branch branch-3.0 updated: [test](inverted index) refine test_ignore_above case, add compound query sql #40355 (#40591)

This is an automated email from the ASF dual-hosted git repository.

airborne pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 8a81abea7dc [test](inverted index) refine test_ignore_above case, add compound query sql #40355 (#40591)
8a81abea7dc is described below

commit 8a81abea7dca73790cc06ebea37261af0bf9d7b8
Author: airborne12 <ai...@gmail.com>
AuthorDate: Wed Sep 11 09:05:42 2024 +0800

    [test](inverted index) refine test_ignore_above case, add compound query sql #40355 (#40591)
    
    cherry pick from #40355
---
 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org