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

eldenmoon 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 ddf23261279 [fix](case) fix unstable cases (#51433)
ddf23261279 is described below

commit ddf2326127908e73f5a36ae2b5aea67d7e3f5926
Author: Sun Chenyang <[email protected]>
AuthorDate: Fri Jun 6 14:56:01 2025 +0800

    [fix](case) fix unstable cases (#51433)
---
 regression-test/suites/inverted_index_p0/test_is_null_expr.groovy  | 3 +++
 regression-test/suites/variant_p0/test_variant_is_null_expr.groovy | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/regression-test/suites/inverted_index_p0/test_is_null_expr.groovy 
b/regression-test/suites/inverted_index_p0/test_is_null_expr.groovy
index 0abd18c11c5..22f890f9223 100644
--- a/regression-test/suites/inverted_index_p0/test_is_null_expr.groovy
+++ b/regression-test/suites/inverted_index_p0/test_is_null_expr.groovy
@@ -52,6 +52,9 @@ suite("test_is_null_expr", "p0, nonConcurrent") {
           GetDebugPoint().enableDebugPointForAllBEs(checkpoints_name, 
[filtered_rows: expectedFilteredRows])
           sql "set experimental_enable_parallel_scan = false"
           sql " set inverted_index_skip_threshold = 0 "
+          sql " set enable_common_expr_pushdown_for_inverted_index = true"
+          sql " set enable_common_expr_pushdown = true"
+          sql " set enable_parallel_scan = false"
           sql "sync"
           sql "${sqlQuery}"
       } finally {
diff --git a/regression-test/suites/variant_p0/test_variant_is_null_expr.groovy 
b/regression-test/suites/variant_p0/test_variant_is_null_expr.groovy
index eccd7bf493b..2b18f8a31bd 100644
--- a/regression-test/suites/variant_p0/test_variant_is_null_expr.groovy
+++ b/regression-test/suites/variant_p0/test_variant_is_null_expr.groovy
@@ -47,6 +47,9 @@ suite("test_variant_is_null_expr", "p0, nonConcurrent") {
           GetDebugPoint().enableDebugPointForAllBEs(checkpoints_name, 
[filtered_rows: expectedFilteredRows])
           sql "set experimental_enable_parallel_scan = false"
           sql " set inverted_index_skip_threshold = 0 "
+          sql " set enable_common_expr_pushdown_for_inverted_index = true"
+          sql " set enable_common_expr_pushdown = true"
+          sql " set enable_parallel_scan = false"
           sql "sync"
           sql "${sqlQuery}"
       } finally {
@@ -55,7 +58,7 @@ suite("test_variant_is_null_expr", "p0, nonConcurrent") {
       }
     }
     
-    queryAndCheck (" select * from ${testTable} where v['int1'] is not null; 
", 2)
+    queryAndCheck (" select /*+ 
SET_VAR(batch_size=4064,broker_load_batch_size=16352,disable_streaming_preaggregations=false,enable_distinct_streaming_aggregation=true,parallel_pipeline_task_num=1,enable_binary_search_filtering_partitions=true,enable_sql_cache=false,enable_parallel_scan=true,parallel_scan_max_scanners_count=48,parallel_scan_min_rows_per_scanner=2097152,use_serial_exchange=false,enable_shared_exchange_sink_buffer=true,parallel_prepare_threshold=2,enable_fold_constant_by_b
 [...]
     queryAndCheck (" select * from ${testTable} where v['int1'] is null; ", 1)
     queryAndCheck (" select * from ${testTable} where v['string1'] is not 
null; ", 2)
     queryAndCheck (" select * from ${testTable} where v['string1'] is null; ", 
1)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to