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>
20 lines
417 B
Plaintext
20 lines
417 B
Plaintext
#
|
|
# Test case migrated from regression test suite:
|
|
# ./mysql/queries/nightly/alltest/test002/q5.1.1.sql
|
|
#
|
|
# Author: Susil, susil.behera@mariadb.com
|
|
#
|
|
|
|
-- source ../include/have_columnstore.inc
|
|
|
|
USE tpch1;
|
|
|
|
select p_brand, sum(l_quantity) tot_qty,
|
|
avg(l_quantity) avg_qty
|
|
from part, lineitem
|
|
where l_shipdate between '1996-04-01' and '1996-04-14'
|
|
and p_size = 5
|
|
and p_partkey = l_partkey
|
|
group by p_brand
|
|
order by 1;
|