mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-26 11:48:52 +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>
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: bug3058.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
select count(*) from nation where n_nationkey in (select n_nationkey from (select n_nationkey from nation group by n_nationkey ) a);
|
|
|
|
select count(*) from nation where n_nationkey in (select n_nationkey from (select count(*) c3, n_nationkey from nation group by n_nationkey ) a);
|
|
|
|
select count(*) from nation where n_nationkey in (select n_nationkey from (select n_nationkey, count(*) from nation group by n_nationkey ) a);
|
|
|
|
select n_nationkey from (select count(*) c3, n_nationkey from nation group by 2) a order by 1;
|
|
|
|
select n_nationkey, n_name from nation where n_nationkey in (select r_regionkey from (select count(*), r_regionkey from region group by 2) a) order by 1;
|
|
|
|
select n_nationkey, n_name from nation where n_nationkey in (select r_regionkey from (select r_regionkey, count(*) from region group by 1) a) order by 1;
|
|
#
|
|
|