You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/04 03:29:15 UTC

[GitHub] [doris] jacktengg commented on issue #10576: [Bug] be core,COW

jacktengg commented on issue #10576:
URL: https://github.com/apache/doris/issues/10576#issuecomment-1173298596

   How to reproduce:
   Status HashJoinNode::_hash_table_build(RuntimeState* state) 函数中,将BUILD_BLOCK_MAX_SIZE修改为一个很小的值:
   
           constexpr static auto BUILD_BLOCK_MAX_SIZE = 2; 
   复现sql:
   
   MySQL [test]> create table a(a int, b int ) distributed by hash(`a`) buckets 1 properties("replication_num"="1");
   Query OK, 0 rows affected (0.01 sec)
   
   MySQL [test]> create table b(a int, b int ) distributed by hash(`a`) buckets 1 properties("replication_num"="1");
   Query OK, 0 rows affected (0.00 sec)
   
   MySQL [test]> insert into a values(1,1),(2,2),(3,3);
   Query OK, 3 rows affected (0.04 sec)
   {'label':'insert_9d64ba3bb7144972-b5e993a4d0a9964c', 'status':'VISIBLE', 'txnId':'39'}
   
   MySQL [test]> insert into b values (2,2), (3,3), (4,4);
   Query OK, 3 rows affected (0.03 sec)
   {'label':'insert_6c243ff69950450a-9808811fbb831a5f', 'status':'VISIBLE', 'txnId':'40'}
   
   MySQL [test]> select * from a where not exists (select * from b where a.a = b.a and a.b != b.b); 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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