You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
* Sort test result so the test case would pass * Server message has been changes * Added schema name in query for rows in test case only. Also use lower case schema name * Changed database to lower case * Run test case in its own database to avoid table already exists error Co-authored-by: root <root@rocky8.localdomain>
29 lines
1.5 KiB
Plaintext
Executable File
29 lines
1.5 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;
|
|
#
|
|
sorted_result;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
sorted_result;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 left join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
sorted_result;
|
|
select n1.n_nationkey, n2.n_nationkey, n1.*, n2.* from nation n1 right join nation n2 on n1.n_nationkey = n2.n_nationkey;
|
|
#
|
|
sorted_result;
|
|
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;
|
|
sorted_result;
|
|
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;
|
|
sorted_result;
|
|
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;
|
|
sorted_result;
|
|
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;
|
|
sorted_result;
|
|
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;
|
|
#
|