1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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,63 @@
USE tpch1;
select cdate from datatypetestm where cdate='';
cdate
select cdatetime from datatypetestm where cdatetime='';
cdatetime
select cdate from datatypetestm where cdate<>'';
cdate
1997-01-01
1997-01-01
1997-01-02
1997-01-03
1997-01-04
2009-12-28
2009-12-29
2009-12-30
2009-12-31
2009-12-31
2009-12-31
select cdatetime from datatypetestm where cdatetime<>'';
cdatetime
1997-01-01 00:00:00
1997-01-01 00:00:01
1997-01-02 00:00:01
1997-01-03 00:00:02
1997-01-04 00:00:03
2009-12-31 23:59:56
2009-12-31 23:59:57
2009-12-31 23:59:58
2009-12-31 23:59:59
2009-12-31 23:59:59
2009-12-31 23:59:59
select * from datatypetestm where cdate=null or cdatetime<>null;
CIDX CBIGINT CDECIMAL1 CDECIMAL4 CDECIMAL4_2 CDECIMAL5 CDECIMAL9 CDECIMAL9_2 CDECIMAL10 CDECIMAL18 CDECIMAL18_2 CINTEGER CSMALLINT CTINYINT CDOUBLE CFLOAT CDATE CDATETIME CCHAR1 CCHAR2 CCHAR3 CCHAR4 CCHAR5 CCHAR6 CCHAR7 CCHAR8 CCHAR9 CCHAR255 CVCHAR1 CVCHAR2 CVCHAR3 CVCHAR4 CVCHAR5 CVCHAR6 CVCHAR7 CVCHAR8 CVCHAR255
select cdate from datatypetestm where cdate is null;
cdate
select cdatetime from datatypetestm where cdatetime is null;
cdatetime
select cdate from datatypetestm where cdate is not null;
cdate
1997-01-01
1997-01-01
1997-01-02
1997-01-03
1997-01-04
2009-12-28
2009-12-29
2009-12-30
2009-12-31
2009-12-31
2009-12-31
select cdatetime from datatypetestm where cdatetime is not null;
cdatetime
1997-01-01 00:00:00
1997-01-01 00:00:01
1997-01-02 00:00:01
1997-01-03 00:00:02
1997-01-04 00:00:03
2009-12-31 23:59:56
2009-12-31 23:59:57
2009-12-31 23:59:58
2009-12-31 23:59:59
2009-12-31 23:59:59
2009-12-31 23:59:59