1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

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>
This commit is contained in:
Daniel Lee
2022-08-09 13:20:56 -05:00
committed by GitHub
parent 8b15e2f6a4
commit 4c9d6e39ac
6839 changed files with 10542409 additions and 77 deletions

View File

@ -0,0 +1,29 @@
USE tpch1;
select cidx, CDATE, date_format(cdate, '%Y%m') x, PERIOD_DIFF(
date_format(cdate, '%Y%m') ,'201105') y from datatypetestm order by cidx;
cidx CDATE x y
1 1997-01-01 199701 -172
2 1997-01-01 199701 -172
3 1997-01-02 199701 -172
4 1997-01-03 199701 -172
5 1997-01-04 199701 -172
6 2009-12-28 200912 -17
7 2009-12-29 200912 -17
8 2009-12-30 200912 -17
9 2009-12-31 200912 -17
10 2009-12-31 200912 -17
11 2009-12-31 200912 -17
select cidx, CDATETIME, date_format(cdatetime, '%Y%m') x, PERIOD_DIFF(
date_format(cdatetime, '%Y%m') ,'201105') y from datatypetestm order by cidx;
cidx CDATETIME x y
1 1997-01-01 00:00:00 199701 -172
2 1997-01-01 00:00:01 199701 -172
3 1997-01-02 00:00:01 199701 -172
4 1997-01-03 00:00:02 199701 -172
5 1997-01-04 00:00:03 199701 -172
6 2009-12-31 23:59:56 200912 -17
7 2009-12-31 23:59:57 200912 -17
8 2009-12-31 23:59:58 200912 -17
9 2009-12-31 23:59:59 200912 -17
10 2009-12-31 23:59:59 200912 -17
11 2009-12-31 23:59:59 200912 -17