mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-21 19:45:56 +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>
21 lines
541 B
Plaintext
21 lines
541 B
Plaintext
#
|
|
# Test case migrated from regression test suite:
|
|
# ./mysql/queries/nightly/alltest/test002/q5.1.2.sql
|
|
#
|
|
# Author: Susil, susil.behera@mariadb.com
|
|
#
|
|
|
|
-- source ../include/have_columnstore.inc
|
|
|
|
USE tpch1;
|
|
|
|
select n_name, l_commitdate, sum(s_acctbal) sum_bal,
|
|
sum(l_extendedprice) sum_price, min(s_suppkey) minskey, count(*)
|
|
from nation, supplier, lineitem
|
|
where s_nationkey in (1,2)
|
|
and l_commitdate between '1998-01-01' and '1998-01-07'
|
|
and n_nationkey = s_nationkey
|
|
and s_suppkey = l_suppkey
|
|
group by n_name, l_commitdate
|
|
order by 1, 2;
|