You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-22 20:42:36 +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>
28 lines
812 B
Plaintext
28 lines
812 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: MCOL-3448.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
DROP TABLE IF EXISTS dim_date;
|
|
create table dim_date(semaine varchar(10), date_jour date, val int) engine=columnstore;
|
|
|
|
insert into dim_date values
|
|
('2019-S08','2019-02-18',1),
|
|
('2019-S08','2019-02-19',2),
|
|
('2019-S08','2019-02-20',3),
|
|
('2019-S07','2019-02-15',0),
|
|
('2019-S07','2019-02-14',5),
|
|
('2019-S01','2019-01-01',5);
|
|
|
|
SELECT * FROM dim_date WHERE SEMAINE IN ('2019-S07') OR (SEMAINE,DATE_JOUR) IN ( ('2019-S08','2019-02-18'), ('2019-S08','2019-02-19') ) order by val;
|
|
|
|
DROP TABLE IF EXISTS dim_date;
|
|
|
|
#
|
|
|