1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-29 03:22:01 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/r/mcs7059_regression_bug3267.result
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

24 lines
674 B
Plaintext

USE tpch1;
drop table if exists bug3267;
Warnings:
Note 1051 Unknown table 'tpch1.bug3267'
create table bug3267 (c1 decimal(12, 6), c2 float) engine=columnstore;
insert into bug3267 values (5.240620, 5.24062e+06), (7.240620, 7.24062e+06), (9.940620, 9.94062e+06), (5.240620, 5.24062), (-4.44, -4.44), (-8.87, -8.87);
select floor(c1), ceil(c1), c1 from bug3267;
floor(c1) ceil(c1) c1
5 6 5.240620
7 8 7.240620
9 10 9.940620
5 6 5.240620
-5 -4 -4.440000
-9 -8 -8.870000
select floor(c2), ceil(c2), c2 from bug3267;
floor(c2) ceil(c2) c2
5240620 5240620 5240620
7240620 7240620 7240620
9940620 9940620 9940620
5 6 5.24062
-5 -4 -4.44
-9 -8 -8.87
drop table if exists bug3267;