1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-21 19:45:56 +03:00
Daniel Lee 4c9d6e39ac
Dlee mtr restructure (#2494)
* 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>
2022-08-09 21:20:56 +03:00

36 lines
1.4 KiB
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug3584.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdate) > 0;
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdate) < 0;
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdate) = 0;
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdatetime) > 0;
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdatetime) < 0;
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdatetime) = 0;
select cdate, cdatetime, time(cdate) from datatypetestm where time(cdatetime) > 100;
select id, dtm q1 from dtypes where time(dtm)>'08:10';
select id, dtm q2 from dtypes where time(dtm)>'08:10:22';
select count(*) q3 from dtypes where time(dtm) <= '07:40:00';
select count(*) q4 from dtypes where time(dtm) <= '074000';
select count(*) q5 from dtypes where time(dtm) <= 074000;
select id, dtm q6 from dtypes where time(dtm)='06:46:22';
select id, dtm q7 from dtypes where time(dtm)=064622;
select count(*) q8 from dtypes where time(dt)=0;
select count(*) q9 from dtypes where time(dt)='0';
select count(*) q10 from dtypes where time(dt)='00:00:00';
#