You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-27 08:21:15 +03:00
move mtr suites here
This commit is contained in:
30
mtr/basic/t/mcs246_regexp_substr_function.test
Normal file
30
mtr/basic/t/mcs246_regexp_substr_function.test
Normal file
@@ -0,0 +1,30 @@
|
||||
#
|
||||
# Columnstore doesn't support REGEXP_SUBSTR function
|
||||
# Author: Bharath, bharath.bokka@mariadb.com
|
||||
#
|
||||
-- source ../include/have_columnstore.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS mcs246_db;
|
||||
--enable_warnings
|
||||
|
||||
CREATE DATABASE mcs246_db;
|
||||
USE mcs246_db;
|
||||
|
||||
CREATE TABLE t1
|
||||
(
|
||||
t1_INT INT,
|
||||
t1_DECIMAL DECIMAL(12,5),
|
||||
t1_TEXT TEXT,
|
||||
t1_DATE DATE,
|
||||
t1_TIME TIME
|
||||
)ENGINE=Columnstore;
|
||||
INSERT INTO t1 VALUES(103, 1234.5699, repeat('o', 5), '1997-12-12', '22:12:02');
|
||||
INSERT INTO t1 VALUES(-7299, 111.99, repeat('p', 5), '2001-1-1', '23:59:59');
|
||||
INSERT INTO t1 VALUES(9913, 98765.4321, repeat('q', 5), '09-12-11', '01:08:59');
|
||||
|
||||
--error ER_CHECK_NOT_IMPLEMENTED
|
||||
SELECT REGEXP_SUBSTR(t1_TEXT, '[a-z]+') FROM t1 ORDER BY 1;
|
||||
|
||||
# Clean UP
|
||||
DROP DATABASE mcs246_db;
|
||||
Reference in New Issue
Block a user