1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +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,24 @@
USE tpch1;
select cidx, CDOUBLE, CAST(CDOUBLE AS DECIMAL(9)) from datatypetestm order by cidx;
cidx CDOUBLE CAST(CDOUBLE AS DECIMAL(9))
1 -1.797693231e108 -999999999
2 -1.79769323e108 -999999999
3 -1.797693229e108 -999999999
4 -1.797693228e108 -999999999
5 -1.797693227e108 -999999999
6 1.797693227e108 999999999
7 1.797693228e108 999999999
8 1.797693229e108 999999999
9 1.79769323e108 999999999
10 1.797693231e108 999999999
11 0 0
drop table if exists bug3798;
Warnings:
Note 1051 Unknown table 'tpch1.bug3798'
create table bug3798 (c1 float) engine=columnstore;
insert into bug3798 values (1234567), (1.2345678);
select c1, cast(c1 as decimal(9,2)), cast(c1 as decimal(14,12)) from bug3798;
c1 cast(c1 as decimal(9,2)) cast(c1 as decimal(14,12))
1234570 1234567.00 99.999999999999
1.23457 1.23 1.234567761421
drop table bug3798;