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

yiguolei 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 0cf0be29977 [fix](regression) fix p2 case failure (#64420)
0cf0be29977 is described below

commit 0cf0be2997708a18600b9bdfd9c12249cc02b3a8
Author: TengJianPing <[email protected]>
AuthorDate: Thu Jun 11 17:35:30 2026 +0800

    [fix](regression) fix p2 case failure (#64420)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #xxx
    
    Problem Summary:
    
    ### Release note
    
    None
    
    ### Check List (For Author)
    
    - Test <!-- At least one of them must be included. -->
        - [ ] Regression test
        - [ ] Unit Test
        - [ ] Manual test (add detailed scripts or steps below)
        - [ ] No need to test or manual test. Explain why:
    - [ ] This is a refactor/code format and no logic has been changed.
            - [ ] Previous test can cover this change.
            - [ ] No code files have been changed.
            - [ ] Other reason <!-- Add your reason?  -->
    
    - Behavior changed:
        - [ ] No.
        - [ ] Yes. <!-- Explain the behavior change -->
    
    - Does this need documentation?
        - [ ] No.
    - [ ] Yes. <!-- Add document PR link here. eg:
    https://github.com/apache/doris-website/pull/1214 -->
    
    ### Check List (For Reviewer who merge this PR)
    
    - [ ] Confirm the release note
    - [ ] Confirm test cases
    - [ ] Confirm document
    - [ ] Add branch pick label <!-- Add branch pick label that this PR
    should merge into -->
---
 regression-test/data/query_p2/big_join_build/big_join_build.out     | 5 ++++-
 .../suites/query_p2/big_join_build/big_join_build.groovy            | 6 ++++--
 .../suites/query_p2/lateral_view/load_from_big_lateral_view.groovy  | 2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/regression-test/data/query_p2/big_join_build/big_join_build.out 
b/regression-test/data/query_p2/big_join_build/big_join_build.out
index 4e55f55863d..43e65747376 100644
--- a/regression-test/data/query_p2/big_join_build/big_join_build.out
+++ b/regression-test/data/query_p2/big_join_build/big_join_build.out
@@ -1,4 +1,7 @@
 -- This file is automatically generated. You should know what you did if you 
want to edit this
+-- !count --
+5000000000
+
 -- !sql --
-97656250
+25
 
diff --git 
a/regression-test/suites/query_p2/big_join_build/big_join_build.groovy 
b/regression-test/suites/query_p2/big_join_build/big_join_build.groovy
index a1a1e906e67..dce17b76078 100644
--- a/regression-test/suites/query_p2/big_join_build/big_join_build.groovy
+++ b/regression-test/suites/query_p2/big_join_build/big_join_build.groovy
@@ -22,7 +22,7 @@ suite("big_join_build") {
 
     sql """
             create table b_table (
-                k1 tinyint not null,
+                k1 int not null,
             )
             duplicate key (k1)
             distributed BY hash(k1) buckets 64
@@ -30,7 +30,7 @@ suite("big_join_build") {
         """
     sql """
             create table p_table (
-                k1 tinyint not null,
+                k1 int not null,
             )
             duplicate key (k1)
             distributed BY hash(k1) buckets 64
@@ -55,6 +55,8 @@ suite("big_join_build") {
     insert into b_table select * from numbers("number" = "1000000000");
     """
 
+    qt_count """select count(*) from b_table;"""
+
     qt_sql"""select /*+ leading(p_table b_table) */ count(*) from 
p_table,b_table where p_table.k1=b_table.k1 and b_table.k1<91;"""
 }
 
diff --git 
a/regression-test/suites/query_p2/lateral_view/load_from_big_lateral_view.groovy
 
b/regression-test/suites/query_p2/lateral_view/load_from_big_lateral_view.groovy
index 6d5462459dd..c61e3cea163 100644
--- 
a/regression-test/suites/query_p2/lateral_view/load_from_big_lateral_view.groovy
+++ 
b/regression-test/suites/query_p2/lateral_view/load_from_big_lateral_view.groovy
@@ -32,7 +32,7 @@ suite("load_from_big_lateral_view") {
         PROPERTIES("replication_num" = "1");
         """
 
-    sql """insert into test select e1,e1,e1,e1 from (select 1 k1) as t lateral 
view explode_numbers(100000000) tmp1 as e1;"""
+    sql """insert into test select e1%32768,e1,e1,e1 from (select 1 k1) as t 
lateral view explode_numbers(100000000) tmp1 as e1;"""
 
     qt_sql """select count(*) from test;"""
 }


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

Reply via email to