mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-20 09:07:44 +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>
19 lines
745 B
Plaintext
19 lines
745 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: bug2712.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
#-- group by counter
|
|
select abs(n_regionkey+n_nationkey), count(*) from nation group by 1 order by 1;
|
|
#-- group by alias
|
|
select abs(n_regionkey+n_nationkey) a, count(*) from nation group by a order by 1;
|
|
#-- group by FE
|
|
select abs(n_regionkey+n_nationkey) a, count(*) from nation group by abs(n_regionkey+n_nationkey) order by 1;
|
|
select abs(n_regionkey+n_nationkey) a, count(*) from nation group by 1, abs(n_nationkey+n_regionkey) order by 1;#
|
|
|