Skip to content

Commit

Permalink
chore: add large dataset test for iejoin (databendlabs#11608)
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 authored May 29, 2023
1 parent b5f961e commit 057d8ab
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/sqllogictests/suites/tpch/join.test
Original file line number Diff line number Diff line change
Expand Up @@ -298,3 +298,25 @@ order by o_comment
Tiresias about the blithely ironic a
Tiresias about the blithely ironic a
Tiresias above the carefully ironic packages nag about the pend

statement ok
set max_block_size = 1024;


# Test iejoin with large dataset
query I
select l_orderkey from (select * from lineitem order by l_orderkey limit 5000) as l, (select * from orders order by o_orderkey limit 5000) as o where l.l_orderkey > o.o_orderkey and l.l_partkey < o.o_custkey order by l_orderkey limit 10;
----
3
3
3
3
3
3
3
4
5
5

statement ok
set max_block_size = 65536;

0 comments on commit 057d8ab

Please sign in to comment.