You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-25 20:23:16 +03:00
18 lines
726 B
Plaintext
18 lines
726 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: bug4848.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
select max(K), count(*) from (select n_nationkey K from nation limit 1) a;
|
|
select n_nationkey K from nation limit 1;
|
|
(select n_nationkey K from nation limit 1) union (select n_nationkey K from nation limit 2) order by 1;
|
|
(select n_nationkey K from nation limit 1) union all (select n_nationkey K from nation limit 1);
|
|
(select n_nationkey K from nation limit 1) union all (select n_nationkey K from nation limit 2) limit 1;
|
|
#
|
|
|