1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-27 08:21:15 +03:00
Files
mariadb-columnstore-engine/mtr/basic/r/mcs250_to_seconds_function.result
mariadb-RomanNavrotskiy 73b4147cf3 move mtr suites here
2021-01-31 01:38:31 +02:00

18 lines
711 B
Plaintext

DROP DATABASE IF EXISTS mcs250_db;
CREATE DATABASE mcs250_db;
USE mcs250_db;
CREATE TABLE t1
(
t1_INT INT,
t1_DATE DATE,
t1_DATETIME DATETIME
)ENGINE=Columnstore;
INSERT INTO t1 VALUES(1, '1997-12-12', '1997-12-12 22:12:02');
INSERT INTO t1 VALUES(2, '2001-1-1', '2001-1-1 23:59:59');
INSERT INTO t1 VALUES(3, '09-12-11', '09-12-11 01:08:59');
SELECT t1_DATE, TO_SECONDS(t1_DATE) FROM t1 ORDER BY 1;
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'to_seconds' isn't supported.
SELECT t1_DATETIME, TO_SECONDS(t1_DATETIME) FROM t1 ORDER BY 1;
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'to_seconds' isn't supported.
DROP DATABASE mcs250_db;