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
520 B
Plaintext
21 lines
520 B
Plaintext
#
|
|
# Test case migrated from regression test suite:
|
|
# ./mysql/queries/working_ssb_compareLogOnly/ssb/q2.3.mod.sql
|
|
#
|
|
# Author: Susil, susil.behera@mariadb.com
|
|
#
|
|
|
|
-- source ../include/have_columnstore.inc
|
|
|
|
USE ssb1;
|
|
# Q2.3
|
|
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= 'MFGR#2239'
|
|
and s_region = 'EUROPE'
|
|
group by d_year, p_brand1
|
|
order by d_year, p_brand1;
|