You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-24 08:41:09 +03:00
* Restructured test suites and added autopilot and extended suites * Updated autopilot with correct branch - develop * Moved setup test case to a 'setup' directory, for consistency * Fixed a path issue * Updated some tests cases to keep up with development Co-authored-by: root <root@rocky8.localdomain>
27 lines
2.2 KiB
Plaintext
Executable File
27 lines
2.2 KiB
Plaintext
Executable File
# -------------------------------------------------------------- #
|
|
# Test case migrated from Autopilot outer join test suite
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE outerjoin;
|
|
#
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 left join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 right join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 join nation n2 on n1.n_nationkey = n2.n_nationkey where n1.n_nationkey >= 0;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 left join nation n2 on n1.n_nationkey = n2.n_nationkey where n1.n_nationkey >= 0;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 left join nation n2 on n1.n_nationkey = n2.n_nationkey where n2.n_nationkey >= 0;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 right join nation n2 on n1.n_nationkey = n2.n_nationkey where n1.n_nationkey >= 0;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 right join nation n2 on n1.n_nationkey = n2.n_nationkey where n2.n_nationkey >= 0;
|
|
#
|
|
#select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 join (select * from nation where n_nationkey >= 10 ) n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 left join (select * from nation where n_nationkey >= 10 ) n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 right join (select * from nation where n_nationkey >= 10 ) n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from (select * from nation where n_nationkey >= 10 ) n1 left join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from (select * from nation where n_nationkey >= 10 ) n1 right join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#
|