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>
22 lines
543 B
Plaintext
22 lines
543 B
Plaintext
#
|
|
# Test case migrated from regression test suite:
|
|
# ./mysql/queries/working_ssb_compareLogOnly/ssb/q2.2.mod.sql
|
|
#
|
|
# Author: Susil, susil.behera@mariadb.com
|
|
#
|
|
|
|
-- source ../include/have_columnstore.inc
|
|
|
|
USE ssb1;
|
|
# Q2.2
|
|
select sum(lo_revenue), d_year, p_brand1
|
|
from part, supplier, dateinfo, lineorder # changed order
|
|
where lo_orderdate = d_datekey
|
|
and lo_partkey = p_partkey
|
|
and lo_suppkey = s_suppkey
|
|
and p_brand1 between 'MFGR#2221'
|
|
and 'MFGR#2228'
|
|
and s_region = 'ASIA'
|
|
group by d_year, p_brand1
|
|
order by d_year, p_brand1;
|