1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-21 19:45:56 +03:00
Daniel Lee 4c9d6e39ac
Dlee mtr restructure (#2494)
* 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>
2022-08-09 21:20:56 +03:00

25 lines
693 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug1632.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
#-- Self joins.
select n1.n_nationkey, n1.n_regionkey from nation n1, nation n2 where
n1.n_nationkey = n2.n_regionkey order by 1, 2;
select o1.o_orderkey o1order, o2.o_custkey o2order, o1.o_custkey
from orders o1,
orders o2
where o1.o_custkey = o2.o_orderkey and
o1.o_orderdate <= '1992-01-01' and
o1.o_orderstatus = 'F' and
o2.o_orderstatus = 'O'
order by 1, 2, 3;
#