You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4607 add tests
This commit is contained in:
committed by
Leonid Fedorov
parent
3e20a3d566
commit
fe0e67e8a1
@ -3,8 +3,12 @@ CREATE DATABASE mcol_4607;
|
||||
USE mcol_4607;
|
||||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1 (a DECIMAL(30,1)) ENGINE=ColumnStore;
|
||||
INSERT INTO t1 VALUES (1);
|
||||
INSERT INTO t1 VALUES (1), (0), (-1), (3661), (1234567890.1);
|
||||
SELECT SEC_TO_TIME(a), SEC_TO_TIME(a)+0.0 FROM t1;
|
||||
SEC_TO_TIME(a) SEC_TO_TIME(a)+0.0
|
||||
00:00:01.0 1.0
|
||||
00:00:00.0 0.0
|
||||
-00:00:01.0 -1.0
|
||||
01:01:01.0 10101.0
|
||||
838:59:59.0 8385959.0
|
||||
DROP DATABASE mcol_4607;
|
||||
|
@ -9,7 +9,7 @@ USE mcol_4607;
|
||||
DROP TABLE IF EXISTS t1;
|
||||
--enable_warnings
|
||||
CREATE TABLE t1 (a DECIMAL(30,1)) ENGINE=ColumnStore;
|
||||
INSERT INTO t1 VALUES (1);
|
||||
INSERT INTO t1 VALUES (1), (0), (-1), (3661), (1234567890.1);
|
||||
SELECT SEC_TO_TIME(a), SEC_TO_TIME(a)+0.0 FROM t1;
|
||||
|
||||
DROP DATABASE mcol_4607;
|
||||
|
Reference in New Issue
Block a user