Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ 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
properties("replication_num" = "1");
"""
sql """
create table p_table (
k1 tinyint not null,
k1 int not null,
)
duplicate key (k1)
distributed BY hash(k1) buckets 64
Expand All @@ -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;"""
}

Original file line number Diff line number Diff line change
Expand Up @@ -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;"""
}
Expand Down