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

jakevin 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 a8de805a7a [fix](Nereids) fix stats inject in or_expansion.groovy 
(#23748)
a8de805a7a is described below

commit a8de805a7a1fca4305b2f7870b361a1297614694
Author: 谢健 <jianx...@gmail.com>
AuthorDate: Fri Sep 1 18:31:58 2023 +0800

    [fix](Nereids) fix stats inject in or_expansion.groovy (#23748)
    
    make stats injection run first
---
 regression-test/suites/nereids_p0/union/or_expansion.groovy | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/regression-test/suites/nereids_p0/union/or_expansion.groovy 
b/regression-test/suites/nereids_p0/union/or_expansion.groovy
index 9139ea65c2..f9b2c0bc41 100644
--- a/regression-test/suites/nereids_p0/union/or_expansion.groovy
+++ b/regression-test/suites/nereids_p0/union/or_expansion.groovy
@@ -45,11 +45,6 @@ suite("or_expansion") {
         )
     """
 
-    for (int i = 0; i < 10; i++) {
-        sql "insert into oe1 values(${i}, ${i})"
-        sql "insert into oe2 values(${i+20}, ${i+20})"
-    }
-
     sql """
     alter table oe1 modify column k0 set stats ('row_count'='1000', 
'ndv'='1000', 'min_value'='1', 'max_value'='1000', 'avg_size'='1000', 
'max_size'='1000' )
     """
@@ -99,6 +94,11 @@ suite("or_expansion") {
         contains "VHASH JOIN"
     }
 
+    for (int i = 0; i < 10; i++) {
+        sql "insert into oe1 values(${i}, ${i})"
+        sql "insert into oe2 values(${i+20}, ${i+20})"
+    }
+
     qt_order_ij """
         select oe1.k0, oe2.k0
         from oe1 inner join oe2


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to