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-3741 dev Change mtr IDB-xxx error codes to MCS-xxxx
This commit is contained in:
@ -108,7 +108,7 @@ EXPLAIN SELECT * FROM t1 JOIN t2 ON t1.a + @var1 = t2.c AND @var1 := t1.a;
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PUSHED SELECT NULL NULL NULL NULL NULL NULL NULL NULL
|
1 PUSHED SELECT NULL NULL NULL NULL NULL NULL NULL NULL
|
||||||
SELECT * FROM t1 JOIN t2 ON t1.a + @var1 = t2.c AND @var1 := t1.a;
|
SELECT * FROM t1 JOIN t2 ON t1.a + @var1 = t2.c AND @var1 := t1.a;
|
||||||
ERROR HY000: Internal error: IDB-1001: Function 'set_user_var' isn't supported.
|
ERROR HY000: Internal error: MCS-1001: Function 'set_user_var' isn't supported.
|
||||||
SET @var1 = 2;
|
SET @var1 = 2;
|
||||||
EXPLAIN SELECT SUM(a + @var1) FROM t1;
|
EXPLAIN SELECT SUM(a + @var1) FROM t1;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
@ -120,7 +120,7 @@ EXPLAIN SELECT SUM(@var1 := a) FROM t1;
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PUSHED SELECT NULL NULL NULL NULL NULL NULL NULL NULL
|
1 PUSHED SELECT NULL NULL NULL NULL NULL NULL NULL NULL
|
||||||
SELECT SUM(@var1 := a) FROM t1;
|
SELECT SUM(@var1 := a) FROM t1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'set_user_var' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'set_user_var' isn't supported.
|
||||||
CREATE TABLE `cs_trans_item` (
|
CREATE TABLE `cs_trans_item` (
|
||||||
`id` int(10) unsigned NOT NULL,
|
`id` int(10) unsigned NOT NULL,
|
||||||
`company_id` int(10) unsigned DEFAULT NULL,
|
`company_id` int(10) unsigned DEFAULT NULL,
|
||||||
|
@ -11,7 +11,7 @@ CREATE TABLE t1 (a int, b int);
|
|||||||
INSERT INTO t1 VALUES (1, 1), (5, 0);
|
INSERT INTO t1 VALUES (1, 1), (5, 0);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT a xor b FROM t1;
|
SELECT a xor b FROM t1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT a xor b FROM t1;
|
SELECT a xor b FROM t1;
|
||||||
a xor b
|
a xor b
|
||||||
@ -19,7 +19,7 @@ a xor b
|
|||||||
1
|
1
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT DISTINCT a FROM t1 WHERE a IN (SELECT a FROM t1) OR a IN (SELECT a FROM t1);
|
SELECT DISTINCT a FROM t1 WHERE a IN (SELECT a FROM t1) OR a IN (SELECT a FROM t1);
|
||||||
ERROR HY000: Internal error: IDB-3033: Correlated subquery within OR operator is currently not supported.
|
ERROR HY000: Internal error: MCS-3033: Correlated subquery within OR operator is currently not supported.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT DISTINCT a FROM t1 WHERE a IN (SELECT a FROM t1) OR a IN (SELECT a FROM t1);
|
SELECT DISTINCT a FROM t1 WHERE a IN (SELECT a FROM t1) OR a IN (SELECT a FROM t1);
|
||||||
a
|
a
|
||||||
@ -30,7 +30,7 @@ CREATE TABLE bug4767 (c1 float, c2 double);
|
|||||||
INSERT INTO bug4767 VALUES (1.234, 3.4556), (2.3345456, 2.3345456);
|
INSERT INTO bug4767 VALUES (1.234, 3.4556), (2.3345456, 2.3345456);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT * FROM bug4767 a JOIN bug4767 b ON (a.c1=b.c2);
|
SELECT * FROM bug4767 a JOIN bug4767 b ON (a.c1=b.c2);
|
||||||
ERROR HY000: Internal error: IDB-1002: 'a' and 'b' have incompatible column type specified for join condition.
|
ERROR HY000: Internal error: MCS-1002: 'a' and 'b' have incompatible column type specified for join condition.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT * FROM bug4767 a JOIN bug4767 b ON (a.c1=b.c2);
|
SELECT * FROM bug4767 a JOIN bug4767 b ON (a.c1=b.c2);
|
||||||
c1 c2 c1 c2
|
c1 c2 c1 c2
|
||||||
@ -41,7 +41,7 @@ CREATE TABLE t2 (b int);
|
|||||||
INSERT INTO t2 VALUES (2);
|
INSERT INTO t2 VALUES (2);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT a FROM t1 WHERE a IN (SELECT a FROM t2);
|
SELECT a FROM t1 WHERE a IN (SELECT a FROM t2);
|
||||||
ERROR HY000: Internal error: IDB-1000: 't1' and 't2' are not joined.
|
ERROR HY000: Internal error: MCS-1000: 't1' and 't2' are not joined.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT a FROM t1 WHERE a IN (SELECT a FROM t2);
|
SELECT a FROM t1 WHERE a IN (SELECT a FROM t2);
|
||||||
a
|
a
|
||||||
@ -60,7 +60,7 @@ INSERT INTO s VALUES (1, 1);
|
|||||||
INSERT INTO s VALUES (9, 9);
|
INSERT INTO s VALUES (9, 9);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT 'q1', l.c1, r.c1 FROM l LEFT JOIN r ON l.c1 = r.c1 AND l.c1 IN (SELECT c1 FROM s) ORDER BY 1, 2, 3;
|
SELECT 'q1', l.c1, r.c1 FROM l LEFT JOIN r ON l.c1 = r.c1 AND l.c1 IN (SELECT c1 FROM s) ORDER BY 1, 2, 3;
|
||||||
ERROR HY000: Internal error: IDB-1015: Subquery on OUTER JOIN ON clause is currently not supported.
|
ERROR HY000: Internal error: MCS-1015: Subquery on OUTER JOIN ON clause is currently not supported.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT 'q1', l.c1, r.c1 FROM l LEFT JOIN r ON l.c1 = r.c1 AND l.c1 IN (SELECT c1 FROM s) ORDER BY 1, 2, 3;
|
SELECT 'q1', l.c1, r.c1 FROM l LEFT JOIN r ON l.c1 = r.c1 AND l.c1 IN (SELECT c1 FROM s) ORDER BY 1, 2, 3;
|
||||||
q1 c1 c1
|
q1 c1 c1
|
||||||
@ -78,9 +78,9 @@ INSERT INTO t1 VALUES(10,'sam',10);
|
|||||||
INSERT INTO t1 VALUES(10,'bob',10);
|
INSERT INTO t1 VALUES(10,'bob',10);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT SUM(col1) AS col2 FROM t1 GROUP BY col2;
|
SELECT SUM(col1) AS col2 FROM t1 GROUP BY col2;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2016: Non supported item 'col2' on the GROUP BY list.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2016: Non supported item 'col2' on the GROUP BY list.
|
||||||
SELECT col1 c FROM t1 ORDER BY AVG(col1);
|
SELECT col1 c FROM t1 ORDER BY AVG(col1);
|
||||||
ERROR HY000: Internal error: IDB-2021: 'c' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
ERROR HY000: Internal error: MCS-2021: 'c' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT SUM(col1) AS col2 FROM t1 GROUP BY col2;
|
SELECT SUM(col1) AS col2 FROM t1 GROUP BY col2;
|
||||||
col2
|
col2
|
||||||
@ -96,7 +96,7 @@ CREATE TABLE t1 (a int);
|
|||||||
INSERT INTO t1 VALUES (1);
|
INSERT INTO t1 VALUES (1);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT minute(sleep(a)) FROM t1;
|
SELECT minute(sleep(a)) FROM t1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'minute' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'minute' isn't supported.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT minute(sleep(a)) FROM t1;
|
SELECT minute(sleep(a)) FROM t1;
|
||||||
minute(sleep(a))
|
minute(sleep(a))
|
||||||
@ -108,9 +108,9 @@ INSERT INTO t1 VALUES (1), (2);
|
|||||||
INSERT INTO t2 VALUES (2), (3);
|
INSERT INTO t2 VALUES (2), (3);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT SUM(a) FROM t1 WHERE EXISTS (SELECT MAX(a) FROM t2);
|
SELECT SUM(a) FROM t1 WHERE EXISTS (SELECT MAX(a) FROM t2);
|
||||||
ERROR HY000: Internal error: IDB-3008: Aggregate function in EXISTS subquery is currently not supported.
|
ERROR HY000: Internal error: MCS-3008: Aggregate function in EXISTS subquery is currently not supported.
|
||||||
SELECT * FROM t1 WHERE (a,a) < (SELECT a,a FROM t2 WHERE a=2);
|
SELECT * FROM t1 WHERE (a,a) < (SELECT a,a FROM t2 WHERE a=2);
|
||||||
ERROR HY000: Internal error: IDB-3006: This operator cannot be used with lists.
|
ERROR HY000: Internal error: MCS-3006: This operator cannot be used with lists.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT SUM(a) FROM t1 WHERE EXISTS (SELECT MAX(a) FROM t2);
|
SELECT SUM(a) FROM t1 WHERE EXISTS (SELECT MAX(a) FROM t2);
|
||||||
SUM(a)
|
SUM(a)
|
||||||
@ -124,7 +124,7 @@ CREATE TABLE gen (i int, i2 int);
|
|||||||
INSERT INTO gen VALUES (1,0), (1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (1,7), (1,8), (1,9);
|
INSERT INTO gen VALUES (1,0), (1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (1,7), (1,8), (1,9);
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT i2, (SELECT MAX(g2.i2) FROM gen g2 WHERE g2.i = g1.i AND g2.i2 > g1.i2) sub FROM gen g1;
|
SELECT i2, (SELECT MAX(g2.i2) FROM gen g2 WHERE g2.i = g1.i AND g2.i2 > g1.i2) sub FROM gen g1;
|
||||||
ERROR HY000: Internal error: IDB-3035: Not equal comparison between a column within a subquery with an aggregate result and a column outside of the subquery is not supported.
|
ERROR HY000: Internal error: MCS-3035: Not equal comparison between a column within a subquery with an aggregate result and a column outside of the subquery is not supported.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT i2, (SELECT MAX(g2.i2) FROM gen g2 WHERE g2.i = g1.i AND g2.i2 > g1.i2) sub FROM gen g1;
|
SELECT i2, (SELECT MAX(g2.i2) FROM gen g2 WHERE g2.i = g1.i AND g2.i2 > g1.i2) sub FROM gen g1;
|
||||||
i2 sub
|
i2 sub
|
||||||
@ -146,7 +146,7 @@ INSERT INTO t2 VALUES (2), (3);
|
|||||||
CREATE VIEW v1 AS SELECT a FROM t1 WHERE a > 1;
|
CREATE VIEW v1 AS SELECT a FROM t1 WHERE a > 1;
|
||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
SELECT * FROM t1 LEFT JOIN (t2 AS t, v1) ON v1.a=t1.a ORDER BY 1;
|
SELECT * FROM t1 LEFT JOIN (t2 AS t, v1) ON v1.a=t1.a ORDER BY 1;
|
||||||
ERROR HY000: Internal error: IDB-1000: 'v1, t1' and 't' are not joined.
|
ERROR HY000: Internal error: MCS-1000: 'v1, t1' and 't' are not joined.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT * FROM t1 LEFT JOIN (t2 AS t, v1) ON v1.a=t1.a ORDER BY 1;
|
SELECT * FROM t1 LEFT JOIN (t2 AS t, v1) ON v1.a=t1.a ORDER BY 1;
|
||||||
a a a
|
a a a
|
||||||
@ -175,7 +175,7 @@ c1 LEFT JOIN
|
|||||||
ON c2.a=c4.a
|
ON c2.a=c4.a
|
||||||
)
|
)
|
||||||
ON c1.a=c2.a WHERE c2.a < 100;
|
ON c1.a=c2.a WHERE c2.a < 100;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT c1.a AS col1, c2.a AS col2, c1.a xor c2.a FROM
|
SELECT c1.a AS col1, c2.a AS col2, c1.a xor c2.a FROM
|
||||||
c1 LEFT JOIN
|
c1 LEFT JOIN
|
||||||
@ -197,13 +197,13 @@ INSERT INTO t1 VALUES (1), (2), (3), (4);
|
|||||||
SET columnstore_select_handler=ON;
|
SET columnstore_select_handler=ON;
|
||||||
PREPARE stmt FROM "SELECT a, a xor 0 FROM t1 WHERE a > 1 AND a < 4";
|
PREPARE stmt FROM "SELECT a, a xor 0 FROM t1 WHERE a > 1 AND a < 4";
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
DROP PREPARE stmt;
|
DROP PREPARE stmt;
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
PREPARE stmt FROM "SELECT a, a xor 0 FROM t1 WHERE a > 1 AND a < 4";
|
PREPARE stmt FROM "SELECT a, a xor 0 FROM t1 WHERE a > 1 AND a < 4";
|
||||||
@ -235,11 +235,11 @@ SELECT a, a xor 0 FROM t1 WHERE a > 1 AND a < 4;
|
|||||||
END
|
END
|
||||||
//
|
//
|
||||||
CALL mcol4525_proc();
|
CALL mcol4525_proc();
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
CALL mcol4525_proc();
|
CALL mcol4525_proc();
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
CALL mcol4525_proc();
|
CALL mcol4525_proc();
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-2030: Predicate and Logic operators can not be used where an expression is expected.
|
ERROR 42000: The storage engine for the table doesn't support MCS-2030: Predicate and Logic operators can not be used where an expression is expected.
|
||||||
DROP PROCEDURE mcol4525_proc;
|
DROP PROCEDURE mcol4525_proc;
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
CREATE PROCEDURE mcol4525_proc()
|
CREATE PROCEDURE mcol4525_proc()
|
||||||
@ -311,7 +311,7 @@ SELECT COUNT(DISTINCT cwc_id) npres,COUNT(DISTINCT cwc_cw_id) ncw,cwc_in_id inse
|
|||||||
FROM (giorno,campagna_web_codice)
|
FROM (giorno,campagna_web_codice)
|
||||||
WHERE cwc_fa_id IN (23) AND giorno BETWEEN cwc_datainizio AND cwc_datafine AND mese IN (202009)
|
WHERE cwc_fa_id IN (23) AND giorno BETWEEN cwc_datainizio AND cwc_datafine AND mese IN (202009)
|
||||||
GROUP BY insegna;
|
GROUP BY insegna;
|
||||||
ERROR HY000: Internal error: IDB-1000: 'giorno' and 'campagna_web_codice' are not joined.
|
ERROR HY000: Internal error: MCS-1000: 'giorno' and 'campagna_web_codice' are not joined.
|
||||||
SET columnstore_select_handler=AUTO;
|
SET columnstore_select_handler=AUTO;
|
||||||
SELECT COUNT(DISTINCT cwc_id) npres,COUNT(DISTINCT cwc_cw_id) ncw,cwc_in_id insegna
|
SELECT COUNT(DISTINCT cwc_id) npres,COUNT(DISTINCT cwc_cw_id) ncw,cwc_in_id insegna
|
||||||
FROM (giorno,campagna_web_codice)
|
FROM (giorno,campagna_web_codice)
|
||||||
|
@ -34,19 +34,19 @@ SELECT 'a' <= 'b' FROM t1 LIMIT 1;
|
|||||||
'a' <= 'b'
|
'a' <= 'b'
|
||||||
1
|
1
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT > t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT > t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '>' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '>' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT < t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT < t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '<' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '<' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT >= t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT >= t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '>=' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '>=' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT <= t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT <= t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '<=' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '<=' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT <> t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT <> t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '<>' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '<>' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT = t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT = t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '=' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '=' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL, t1_INT != t1_DECIMAL FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL, t1_INT != t1_DECIMAL FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function '<>' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function '<>' isn't supported.
|
||||||
SELECT t1_INT, t1_DECIMAL from t1 WHERE t1_INT != t1_DECIMAL ORDER BY 1;
|
SELECT t1_INT, t1_DECIMAL from t1 WHERE t1_INT != t1_DECIMAL ORDER BY 1;
|
||||||
t1_INT t1_DECIMAL
|
t1_INT t1_DECIMAL
|
||||||
-7299 111.99000
|
-7299 111.99000
|
||||||
|
@ -125,7 +125,7 @@ c 1861 1
|
|||||||
c 1991 1
|
c 1991 1
|
||||||
d 10701 1
|
d 10701 1
|
||||||
SELECT a, b, NTILE(0) OVER(PARTITION BY b ORDER BY b DESC) ntile FROM t1;
|
SELECT a, b, NTILE(0) OVER(PARTITION BY b ORDER BY b DESC) ntile FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '0' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '0' is out of range.
|
||||||
SELECT a, b, NTILE(3) OVER(PARTITION BY a ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) ntile FROM t1;
|
SELECT a, b, NTILE(3) OVER(PARTITION BY a ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) ntile FROM t1;
|
||||||
ERROR HY000: Window frame is not allowed with 'ntile'
|
ERROR HY000: Window frame is not allowed with 'ntile'
|
||||||
SELECT a, b, NTILE(3) OVER(PARTITION BY b ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) ntile FROM t1;
|
SELECT a, b, NTILE(3) OVER(PARTITION BY b ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) ntile FROM t1;
|
||||||
|
@ -224,11 +224,11 @@ b 16 18.0000000000
|
|||||||
b 15 18.0000000000
|
b 15 18.0000000000
|
||||||
b 14 18.0000000000
|
b 14 18.0000000000
|
||||||
SELECT a, b, PERCENTILE_CONT(-0.9) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pc FROM t1;
|
SELECT a, b, PERCENTILE_CONT(-0.9) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pc FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '-0.9' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '-0.9' is out of range.
|
||||||
SELECT a, b, PERCENTILE_CONT(-1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pc FROM t1;
|
SELECT a, b, PERCENTILE_CONT(-1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pc FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '-1' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '-1' is out of range.
|
||||||
SELECT a, b, PERCENTILE_CONT(1.1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pc FROM t1;
|
SELECT a, b, PERCENTILE_CONT(1.1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pc FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '1.1' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '1.1' is out of range.
|
||||||
SELECT a, b, PERCENTILE_CONT(0) WITHIN GROUP(ORDER BY a DESC) OVER(PARTITION BY a DESC) pc FROM t1;
|
SELECT a, b, PERCENTILE_CONT(0) WITHIN GROUP(ORDER BY a DESC) OVER(PARTITION BY a DESC) pc FROM t1;
|
||||||
ERROR HY000: Numeric datatype is required for percentile_cont function
|
ERROR HY000: Numeric datatype is required for percentile_cont function
|
||||||
DROP DATABASE mcs132_db;
|
DROP DATABASE mcs132_db;
|
||||||
|
@ -290,9 +290,9 @@ b 17 b
|
|||||||
b 18 b
|
b 18 b
|
||||||
a 19 a
|
a 19 a
|
||||||
SELECT a, b, PERCENTILE_DISC(-0.9) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pd FROM t1;
|
SELECT a, b, PERCENTILE_DISC(-0.9) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pd FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '-0.9' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '-0.9' is out of range.
|
||||||
SELECT a, b, PERCENTILE_DISC(-1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pd FROM t1;
|
SELECT a, b, PERCENTILE_DISC(-1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pd FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '-1' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '-1' is out of range.
|
||||||
SELECT a, b, PERCENTILE_DISC(1.1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pd FROM t1;
|
SELECT a, b, PERCENTILE_DISC(1.1) WITHIN GROUP(ORDER BY b DESC) OVER(PARTITION BY b DESC) pd FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9027: Argument '1.1' is out of range.
|
ERROR HY000: Internal error: MCS-9027: Argument '1.1' is out of range.
|
||||||
DROP DATABASE mcs133_db;
|
DROP DATABASE mcs133_db;
|
||||||
|
@ -4,7 +4,7 @@ USE mcs148_db;
|
|||||||
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
||||||
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
|
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
|
||||||
SELECT a, b, BIT_OR(b) OVER(PARTITION BY a) FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(PARTITION BY a) FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY a) FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY a) FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
DROP DATABASE mcs148_db;
|
DROP DATABASE mcs148_db;
|
||||||
|
@ -4,7 +4,7 @@ USE mcs149_db;
|
|||||||
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
||||||
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
|
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
|
||||||
SELECT a, b, BIT_AND(b) OVER(PARTITION BY a) FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(PARTITION BY a) FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY a) FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY a) FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
DROP DATABASE mcs149_db;
|
DROP DATABASE mcs149_db;
|
||||||
|
@ -4,7 +4,7 @@ USE mcs150_db;
|
|||||||
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
||||||
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
|
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
|
||||||
SELECT a, b, BIT_XOR(b) OVER(PARTITION BY a) FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(PARTITION BY a) FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY a) FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY a) FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
DROP DATABASE mcs150_db;
|
DROP DATABASE mcs150_db;
|
||||||
|
@ -4,15 +4,15 @@ USE mcs153_db;
|
|||||||
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
||||||
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('c', 15),('d', 16),('d', 17),('b', 18),('a', 19);
|
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('c', 15),('d', 16),('d', 17),('b', 18),('a', 19);
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) bit_and FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) bit_and FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) bit_and FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_AND(b) OVER(PARTITION BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(PARTITION BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
||||||
ERROR HY000: RANGE-type frame requires ORDER BY clause with single sort key
|
ERROR HY000: RANGE-type frame requires ORDER BY clause with single sort key
|
||||||
SELECT a, b, BIT_AND(b) OVER(ORDER BY a RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY a RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_and FROM t1;
|
||||||
|
@ -4,15 +4,15 @@ USE mcs154_db;
|
|||||||
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
||||||
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('c', 15),('d', 16),('d', 17),('b', 18),('a', 19);
|
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('c', 15),('d', 16),('d', 17),('b', 18),('a', 19);
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) bit_or FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) bit_or FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) bit_or FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_OR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_OR(b) OVER(PARTITION BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(PARTITION BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
||||||
ERROR HY000: RANGE-type frame requires ORDER BY clause with single sort key
|
ERROR HY000: RANGE-type frame requires ORDER BY clause with single sort key
|
||||||
SELECT a, b, BIT_OR(b) OVER(ORDER BY a RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
SELECT a, b, BIT_OR(b) OVER(ORDER BY a RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bit_or FROM t1;
|
||||||
|
@ -4,15 +4,15 @@ USE mcs155_db;
|
|||||||
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
|
||||||
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('c', 15),('d', 16),('d', 17),('b', 18),('a', 19);
|
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('c', 15),('d', 16),('d', 17),('b', 18),('a', 19);
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) BIT_XOR FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) BIT_XOR FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY b ROWS BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) BIT_XOR FROM t1;
|
||||||
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
ERROR HY000: Internal error: MCS-9018: Window Function 'BIT_XOR' is currently not supported in Columnstore.
|
||||||
SELECT a, b, BIT_XOR(b) OVER(PARTITION BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(PARTITION BY b RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
||||||
ERROR HY000: RANGE-type frame requires ORDER BY clause with single sort key
|
ERROR HY000: RANGE-type frame requires ORDER BY clause with single sort key
|
||||||
SELECT a, b, BIT_XOR(b) OVER(ORDER BY a RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
SELECT a, b, BIT_XOR(b) OVER(ORDER BY a RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) BIT_XOR FROM t1;
|
||||||
|
@ -8,5 +8,5 @@ SELECT LAST_INSERT_ID();
|
|||||||
LAST_INSERT_ID()
|
LAST_INSERT_ID()
|
||||||
0
|
0
|
||||||
SELECT LAST_INSERT_ID(a) FROM t1;
|
SELECT LAST_INSERT_ID(a) FROM t1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'last_insert_id' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'last_insert_id' isn't supported.
|
||||||
DROP DATABASE mcs172_db;
|
DROP DATABASE mcs172_db;
|
||||||
|
@ -16,7 +16,7 @@ hello hi
|
|||||||
INSERT INTO t1 (c1) VALUES ('hello');
|
INSERT INTO t1 (c1) VALUES ('hello');
|
||||||
ERROR HY000: Field 'c2' doesn't have a default value
|
ERROR HY000: Field 'c2' doesn't have a default value
|
||||||
INSERT IGNORE INTO t1 (c1) VALUES ('hello');
|
INSERT IGNORE INTO t1 (c1) VALUES ('hello');
|
||||||
ERROR HY000: Internal error: CAL0001: Insert Failed: IDB-4015: Column 'c2' cannot be null.
|
ERROR HY000: Internal error: CAL0001: Insert Failed: MCS-4015: Column 'c2' cannot be null.
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
c1 c2
|
c1 c2
|
||||||
hello hi
|
hello hi
|
||||||
|
@ -13,13 +13,13 @@ 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(-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');
|
INSERT INTO t1 VALUES(9913, 98765.4321, repeat('q', 5), '09-12-11', '01:08:59');
|
||||||
SELECT t1_INT, t1_INT NOT REGEXP '99$' FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_INT NOT REGEXP '99$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_DECIMAL, t1_DECIMAL NOT REGEXP '99$' FROM t1 ORDER BY 1;
|
SELECT t1_DECIMAL, t1_DECIMAL NOT REGEXP '99$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_TEXT, t1_TEXT NOT REGEXP 'oooo$' FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, t1_TEXT NOT REGEXP 'oooo$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_DATE, t1_DATE NOT REGEXP '(1997)+' FROM t1 ORDER BY 1;
|
SELECT t1_DATE, t1_DATE NOT REGEXP '(1997)+' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_TIME, t1_TIME NOT REGEXP '22$' FROM t1 ORDER BY 1;
|
SELECT t1_TIME, t1_TIME NOT REGEXP '22$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
DROP DATABASE mcs241_db;
|
DROP DATABASE mcs241_db;
|
||||||
|
@ -13,13 +13,13 @@ 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(-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');
|
INSERT INTO t1 VALUES(9913, 98765.4321, repeat('q', 5), '09-12-11', '01:08:59');
|
||||||
SELECT t1_INT, t1_INT NOT RLIKE '99$' FROM t1 ORDER BY 1;
|
SELECT t1_INT, t1_INT NOT RLIKE '99$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_DECIMAL, t1_DECIMAL NOT RLIKE '99$' FROM t1 ORDER BY 1;
|
SELECT t1_DECIMAL, t1_DECIMAL NOT RLIKE '99$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_TEXT, t1_TEXT NOT RLIKE 'oooo$' FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, t1_TEXT NOT RLIKE 'oooo$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_DATE, t1_DATE NOT RLIKE '(1997)+' FROM t1 ORDER BY 1;
|
SELECT t1_DATE, t1_DATE NOT RLIKE '(1997)+' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
SELECT t1_TIME, t1_TIME NOT RLIKE '22$' FROM t1 ORDER BY 1;
|
SELECT t1_TIME, t1_TIME NOT RLIKE '22$' FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'not' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'not' isn't supported.
|
||||||
DROP DATABASE mcs243_db;
|
DROP DATABASE mcs243_db;
|
||||||
|
@ -13,5 +13,5 @@ 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(-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');
|
INSERT INTO t1 VALUES(9913, 98765.4321, repeat('q', 5), '09-12-11', '01:08:59');
|
||||||
SELECT t1_TEXT, REGEXP_INSTR(t1_TEXT, 'o') FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, REGEXP_INSTR(t1_TEXT, 'o') FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'regexp_instr' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'regexp_instr' isn't supported.
|
||||||
DROP DATABASE mcs244_db;
|
DROP DATABASE mcs244_db;
|
||||||
|
@ -13,5 +13,5 @@ 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(-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');
|
INSERT INTO t1 VALUES(9913, 98765.4321, repeat('q', 5), '09-12-11', '01:08:59');
|
||||||
SELECT REGEXP_REPLACE(t1_TEXT, 'o', 'X') FROM t1 ORDER BY 1;
|
SELECT REGEXP_REPLACE(t1_TEXT, 'o', 'X') FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'regexp_replace' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'regexp_replace' isn't supported.
|
||||||
DROP DATABASE mcs245_db;
|
DROP DATABASE mcs245_db;
|
||||||
|
@ -13,5 +13,5 @@ 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(-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');
|
INSERT INTO t1 VALUES(9913, 98765.4321, repeat('q', 5), '09-12-11', '01:08:59');
|
||||||
SELECT REGEXP_SUBSTR(t1_TEXT, '[a-z]+') FROM t1 ORDER BY 1;
|
SELECT REGEXP_SUBSTR(t1_TEXT, '[a-z]+') FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'regexp_substr' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'regexp_substr' isn't supported.
|
||||||
DROP DATABASE mcs246_db;
|
DROP DATABASE mcs246_db;
|
||||||
|
@ -11,7 +11,7 @@ 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(2, '2001-1-1', '2001-1-1 23:59:59');
|
||||||
INSERT INTO t1 VALUES(3, '09-12-11', '09-12-11 01:08: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;
|
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.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'to_seconds' isn't supported.
|
||||||
SELECT t1_DATETIME, TO_SECONDS(t1_DATETIME) FROM t1 ORDER BY 1;
|
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.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'to_seconds' isn't supported.
|
||||||
DROP DATABASE mcs250_db;
|
DROP DATABASE mcs250_db;
|
||||||
|
@ -52,13 +52,13 @@ SELECT SHA2('abcdefg', 0) FROM t1 LIMIT 1;
|
|||||||
SHA2('abcdefg', 0)
|
SHA2('abcdefg', 0)
|
||||||
7d1a54127b222502f5b79b5fb0803061152a44f92b37e23c6527baf665d4da9a
|
7d1a54127b222502f5b79b5fb0803061152a44f92b37e23c6527baf665d4da9a
|
||||||
SELECT t1_INT, SHA2(t1_INT, 0) FROM t1 ORDER BY 1;
|
SELECT t1_INT, SHA2(t1_INT, 0) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'sha2' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'sha2' isn't supported.
|
||||||
SELECT t1_DECIMAL, SHA2(t1_DECIMAL, 0) FROM t1 ORDER BY 1;
|
SELECT t1_DECIMAL, SHA2(t1_DECIMAL, 0) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'sha2' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'sha2' isn't supported.
|
||||||
SELECT t1_TEXT, SHA2(t1_TEXT, 0) FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, SHA2(t1_TEXT, 0) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'sha2' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'sha2' isn't supported.
|
||||||
SELECT t1_DATE, SHA2(t1_DATE, 0) FROM t1 ORDER BY 1;
|
SELECT t1_DATE, SHA2(t1_DATE, 0) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'sha2' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'sha2' isn't supported.
|
||||||
SELECT t1_TIME, SHA2(t1_TIME, 0) FROM t1 ORDER BY 1;
|
SELECT t1_TIME, SHA2(t1_TIME, 0) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'sha2' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'sha2' isn't supported.
|
||||||
DROP DATABASE mcs267_db;
|
DROP DATABASE mcs267_db;
|
||||||
|
@ -37,13 +37,13 @@ SELECT LENGTH(COMPRESS('!@')) FROM t1 LIMIT 1;
|
|||||||
LENGTH(COMPRESS('!@'))
|
LENGTH(COMPRESS('!@'))
|
||||||
14
|
14
|
||||||
SELECT t1_INT, COMPRESS(t1_INT) FROM t1 ORDER BY 1;
|
SELECT t1_INT, COMPRESS(t1_INT) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'compress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'compress' isn't supported.
|
||||||
SELECT t1_DECIMAL, COMPRESS(t1_DECIMAL) FROM t1 ORDER BY 1;
|
SELECT t1_DECIMAL, COMPRESS(t1_DECIMAL) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'compress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'compress' isn't supported.
|
||||||
SELECT t1_TEXT, COMPRESS(t1_TEXT) FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, COMPRESS(t1_TEXT) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'compress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'compress' isn't supported.
|
||||||
SELECT t1_DATE, COMPRESS(t1_DATE) FROM t1 ORDER BY 1;
|
SELECT t1_DATE, COMPRESS(t1_DATE) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'compress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'compress' isn't supported.
|
||||||
SELECT t1_TIME, COMPRESS(t1_TIME) FROM t1 ORDER BY 1;
|
SELECT t1_TIME, COMPRESS(t1_TIME) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'compress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'compress' isn't supported.
|
||||||
DROP DATABASE mcs268_db;
|
DROP DATABASE mcs268_db;
|
||||||
|
@ -37,13 +37,13 @@ SELECT UNCOMPRESS(COMPRESS('!@')) FROM t1 LIMIT 1;
|
|||||||
UNCOMPRESS(COMPRESS('!@'))
|
UNCOMPRESS(COMPRESS('!@'))
|
||||||
!@
|
!@
|
||||||
SELECT t1_INT, UNCOMPRESS(COMPRESS(t1_INT)) FROM t1 ORDER BY 1;
|
SELECT t1_INT, UNCOMPRESS(COMPRESS(t1_INT)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompress' isn't supported.
|
||||||
SELECT t1_DECIMAL, UNCOMPRESS(COMPRESS(t1_DECIMAL)) FROM t1 ORDER BY 1;
|
SELECT t1_DECIMAL, UNCOMPRESS(COMPRESS(t1_DECIMAL)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompress' isn't supported.
|
||||||
SELECT t1_TEXT, UNCOMPRESS(COMPRESS(t1_TEXT)) FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, UNCOMPRESS(COMPRESS(t1_TEXT)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompress' isn't supported.
|
||||||
SELECT t1_DATE, UNCOMPRESS(COMPRESS(t1_DATE)) FROM t1 ORDER BY 1;
|
SELECT t1_DATE, UNCOMPRESS(COMPRESS(t1_DATE)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompress' isn't supported.
|
||||||
SELECT t1_TIME, UNCOMPRESS(COMPRESS(t1_TIME)) FROM t1 ORDER BY 1;
|
SELECT t1_TIME, UNCOMPRESS(COMPRESS(t1_TIME)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompress' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompress' isn't supported.
|
||||||
DROP DATABASE mcs269_db;
|
DROP DATABASE mcs269_db;
|
||||||
|
@ -23,9 +23,9 @@ a_id b_id ta_id v1 v2
|
|||||||
INSERT INTO v (a_id, b_id, ta_id, v1, v2) VALUES (3, 5, 3, 30, 500);
|
INSERT INTO v (a_id, b_id, ta_id, v1, v2) VALUES (3, 5, 3, 30, 500);
|
||||||
ERROR HY000: Can not modify more than one base table through a join view 'mcs26_db.v'
|
ERROR HY000: Can not modify more than one base table through a join view 'mcs26_db.v'
|
||||||
INSERT INTO v (a_id, v1) VALUES (3, 30);
|
INSERT INTO v (a_id, v1) VALUES (3, 30);
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1011: Insert on VIEW is currently not supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1011: Insert on VIEW is currently not supported.
|
||||||
INSERT INTO v (b_id, ta_id, v2) VALUES (5, 3, 500);
|
INSERT INTO v (b_id, ta_id, v2) VALUES (5, 3, 500);
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1011: Insert on VIEW is currently not supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1011: Insert on VIEW is currently not supported.
|
||||||
SELECT * FROM v;
|
SELECT * FROM v;
|
||||||
a_id b_id ta_id v1 v2
|
a_id b_id ta_id v1 v2
|
||||||
1 1 1 10 100
|
1 1 1 10 100
|
||||||
|
@ -37,13 +37,13 @@ SELECT UNCOMPRESSED_LENGTH(COMPRESS('!@')) FROM t1 LIMIT 1;
|
|||||||
UNCOMPRESSED_LENGTH(COMPRESS('!@'))
|
UNCOMPRESSED_LENGTH(COMPRESS('!@'))
|
||||||
2
|
2
|
||||||
SELECT t1_INT, UNCOMPRESSED_LENGTH(COMPRESS(t1_INT)) FROM t1 ORDER BY 1;
|
SELECT t1_INT, UNCOMPRESSED_LENGTH(COMPRESS(t1_INT)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompressed_length' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompressed_length' isn't supported.
|
||||||
SELECT t1_DECIMAL, UNCOMPRESSED_LENGTH(COMPRESS(t1_DECIMAL)) FROM t1 ORDER BY 1;
|
SELECT t1_DECIMAL, UNCOMPRESSED_LENGTH(COMPRESS(t1_DECIMAL)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompressed_length' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompressed_length' isn't supported.
|
||||||
SELECT t1_TEXT, UNCOMPRESSED_LENGTH(COMPRESS(t1_TEXT)) FROM t1 ORDER BY 1;
|
SELECT t1_TEXT, UNCOMPRESSED_LENGTH(COMPRESS(t1_TEXT)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompressed_length' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompressed_length' isn't supported.
|
||||||
SELECT t1_DATE, UNCOMPRESSED_LENGTH(COMPRESS(t1_DATE)) FROM t1 ORDER BY 1;
|
SELECT t1_DATE, UNCOMPRESSED_LENGTH(COMPRESS(t1_DATE)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompressed_length' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompressed_length' isn't supported.
|
||||||
SELECT t1_TIME, UNCOMPRESSED_LENGTH(COMPRESS(t1_TIME)) FROM t1 ORDER BY 1;
|
SELECT t1_TIME, UNCOMPRESSED_LENGTH(COMPRESS(t1_TIME)) FROM t1 ORDER BY 1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1001: Function 'uncompressed_length' isn't supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1001: Function 'uncompressed_length' isn't supported.
|
||||||
DROP DATABASE mcs270_db;
|
DROP DATABASE mcs270_db;
|
||||||
|
@ -12,9 +12,9 @@ ERROR 42S22: Unknown column 'nonexistingColumn' in 'field list'
|
|||||||
UPDATE t2 SET a = (SELECT nonexistingColumn FROM t1);
|
UPDATE t2 SET a = (SELECT nonexistingColumn FROM t1);
|
||||||
ERROR 42S22: Unknown column 'nonexistingColumn' in 'field list'
|
ERROR 42S22: Unknown column 'nonexistingColumn' in 'field list'
|
||||||
UPDATE t1 SET a = NULL;
|
UPDATE t1 SET a = NULL;
|
||||||
ERROR HY000: Internal error: CAL0002: Update Failed: IDB-4015: Column 'a' cannot be null.
|
ERROR HY000: Internal error: CAL0002: Update Failed: MCS-4015: Column 'a' cannot be null.
|
||||||
UPDATE t1 SET a = NULL, b =1;
|
UPDATE t1 SET a = NULL, b =1;
|
||||||
ERROR HY000: Internal error: CAL0002: Update Failed: IDB-4015: Column 'a' cannot be null.
|
ERROR HY000: Internal error: CAL0002: Update Failed: MCS-4015: Column 'a' cannot be null.
|
||||||
UPDATE t1 SET a = ;
|
UPDATE t1 SET a = ;
|
||||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
|
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
|
||||||
SELECT * FROm t1 ORDER BY a;
|
SELECT * FROm t1 ORDER BY a;
|
||||||
|
@ -56,7 +56,7 @@ NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
|||||||
NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||||
NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
|
||||||
SELECT * FROM t1 GROUP BY t1_tinyint;
|
SELECT * FROM t1 GROUP BY t1_tinyint;
|
||||||
ERROR HY000: Internal error: IDB-2021: '`mcs35_db1`.`t1`.`t1_int`' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
ERROR HY000: Internal error: MCS-2021: '`mcs35_db1`.`t1`.`t1_int`' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
||||||
SELECT COUNT(*) FROM t1 GROUP BY t1_tinyint;
|
SELECT COUNT(*) FROM t1 GROUP BY t1_tinyint;
|
||||||
COUNT(*)
|
COUNT(*)
|
||||||
11
|
11
|
||||||
|
@ -69,7 +69,7 @@ spID userid MIN(t1.score)
|
|||||||
3 3 3
|
3 3 3
|
||||||
SELECT t1.spID, t2.userid, MIN(t1.score)
|
SELECT t1.spID, t2.userid, MIN(t1.score)
|
||||||
FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY t2.userid, t1.spID ORDER BY t1.date;
|
FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY t2.userid, t1.spID ORDER BY t1.date;
|
||||||
ERROR HY000: Internal error: IDB-2021: 'mcs36_db1.t1.date' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
ERROR HY000: Internal error: MCS-2021: 'mcs36_db1.t1.date' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
||||||
SELECT t2.userid, MIN(t1.score)
|
SELECT t2.userid, MIN(t1.score)
|
||||||
FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY unknown ORDER BY t2.userid;
|
FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY unknown ORDER BY t2.userid;
|
||||||
ERROR 42S22: Unknown column 'unknown' in 'group statement'
|
ERROR 42S22: Unknown column 'unknown' in 'group statement'
|
||||||
@ -78,5 +78,5 @@ FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY t2.userid ORDER BY unknown;
|
|||||||
ERROR 42S22: Unknown column 'unknown' in 'order clause'
|
ERROR 42S22: Unknown column 'unknown' in 'order clause'
|
||||||
SELECT t2.userid, MIN(t1.score)
|
SELECT t2.userid, MIN(t1.score)
|
||||||
FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY t2.userid ORDER BY NULL;
|
FROM t1, t2 WHERE t1.userID=t2.userID GROUP BY t2.userid ORDER BY NULL;
|
||||||
ERROR HY000: Internal error: IDB-2021: 'unknown db.unknown table.unknown field' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
ERROR HY000: Internal error: MCS-2021: 'unknown db.unknown table.unknown field' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
||||||
DROP DATABASE IF EXISTS mcs36_db1;
|
DROP DATABASE IF EXISTS mcs36_db1;
|
||||||
|
@ -43,7 +43,7 @@ col @a
|
|||||||
9 121
|
9 121
|
||||||
10 121
|
10 121
|
||||||
SELECT col AS 'num', func(col) as 'square of num' from t1;
|
SELECT col AS 'num', func(col) as 'square of num' from t1;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1017: Stored function is currently not supported in Columnstore.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1017: Stored function is currently not supported in Columnstore.
|
||||||
SELECT f1(@b) AS 'square of 99', * FROM t1;
|
SELECT f1(@b) AS 'square of 99', * FROM t1;
|
||||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '* FROM t1' at line 1
|
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '* FROM t1' at line 1
|
||||||
SELECT func(@b/0);
|
SELECT func(@b/0);
|
||||||
|
@ -87,7 +87,7 @@ NULL NULL
|
|||||||
11 m
|
11 m
|
||||||
13 nnn
|
13 nnn
|
||||||
DELETE t1 FROM t1 JOIN t2 ON t1.t1_int = t2.t2_int AND t1.t1_int = 5;
|
DELETE t1 FROM t1 JOIN t2 ON t1.t1_int = t2.t2_int AND t1.t1_int = 5;
|
||||||
ERROR HY000: Internal error: IDB-2006: 'mcs45_db.t1' does not exist in Columnstore.
|
ERROR HY000: Internal error: MCS-2006: 'mcs45_db.t1' does not exist in Columnstore.
|
||||||
CREATE TABLE mcs(a INT, b INT)ENGINE=Columnstore;
|
CREATE TABLE mcs(a INT, b INT)ENGINE=Columnstore;
|
||||||
CREATE TABLE idb(a INT, b INT)ENGINE=Innodb;
|
CREATE TABLE idb(a INT, b INT)ENGINE=Innodb;
|
||||||
INSERT INTO mcs(a,b) VALUES (1,2),(2,3),(4,5);
|
INSERT INTO mcs(a,b) VALUES (1,2),(2,3),(4,5);
|
||||||
|
@ -23,7 +23,7 @@ col1 col2
|
|||||||
3 sss
|
3 sss
|
||||||
4 ooo
|
4 ooo
|
||||||
SELECT col1, col2, SUM(LENGTH(col2)) FROM t1 GROUP BY col1 HAVING col1 > 1 AND col2 LIKE '%o%' ORDER BY col1;
|
SELECT col1, col2, SUM(LENGTH(col2)) FROM t1 GROUP BY col1 HAVING col1 > 1 AND col2 LIKE '%o%' ORDER BY col1;
|
||||||
ERROR HY000: Internal error: IDB-2021: '`mcs76_db`.`t1`.`col2`' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
ERROR HY000: Internal error: MCS-2021: '`mcs76_db`.`t1`.`col2`' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause.
|
||||||
CREATE TABLE t2(col1 INT, col2 DATETIME)ENGINE=Columnstore;
|
CREATE TABLE t2(col1 INT, col2 DATETIME)ENGINE=Columnstore;
|
||||||
INSERT INTO t2 VALUES(1, '2020-2-2'),(2, '2020-3-3'),(5,'2020-6-6'),(6, '2020-7-7');
|
INSERT INTO t2 VALUES(1, '2020-2-2'),(2, '2020-3-3'),(5,'2020-6-6'),(6, '2020-7-7');
|
||||||
SELECT t1.col1, SUM(t1.col1*t2.col1) AS a FROM t1 JOIN t2 ON t1.col1 = t2.col1 GROUP BY t1.col1 HAVING a>1 ORDER BY t1.col1;
|
SELECT t1.col1, SUM(t1.col1*t2.col1) AS a FROM t1 JOIN t2 ON t1.col1 = t2.col1 GROUP BY t1.col1 HAVING a>1 ORDER BY t1.col1;
|
||||||
|
@ -16,9 +16,9 @@ year SUM(sales)
|
|||||||
SELECT year, SUM(sales) FROM booksales GROUP BY year WITH ROLLUP ORDER BY year;
|
SELECT year, SUM(sales) FROM booksales GROUP BY year WITH ROLLUP ORDER BY year;
|
||||||
ERROR HY000: Incorrect usage of CUBE/ROLLUP and ORDER BY
|
ERROR HY000: Incorrect usage of CUBE/ROLLUP and ORDER BY
|
||||||
SELECT year, SUM(sales) FROM booksales GROUP BY year WITH ROLLUP;
|
SELECT year, SUM(sales) FROM booksales GROUP BY year WITH ROLLUP;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1014: Rollup is currently not supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1014: Rollup is currently not supported.
|
||||||
SELECT year, SUM(sales) FROM booksales GROUP BY year ASC WITH ROLLUP;
|
SELECT year, SUM(sales) FROM booksales GROUP BY year ASC WITH ROLLUP;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1014: Rollup is currently not supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1014: Rollup is currently not supported.
|
||||||
SELECT year, SUM(sales) FROM booksales GROUP BY year DESC WITH ROLLUP;
|
SELECT year, SUM(sales) FROM booksales GROUP BY year DESC WITH ROLLUP;
|
||||||
ERROR 42000: The storage engine for the table doesn't support IDB-1014: Rollup is currently not supported.
|
ERROR 42000: The storage engine for the table doesn't support MCS-1014: Rollup is currently not supported.
|
||||||
DROP DATABASE IF EXISTS mcs84_db;
|
DROP DATABASE IF EXISTS mcs84_db;
|
||||||
|
@ -20,13 +20,13 @@ select 'q3', utest1.* from utest1 where ukey=7;
|
|||||||
q3 ukey c1 c2 c3 c4
|
q3 ukey c1 c2 c3 c4
|
||||||
q3 7 NULL NULL NULL NULL
|
q3 7 NULL NULL NULL NULL
|
||||||
update utest1 set c4=-9223372036854775806 where ukey=1;
|
update utest1 set c4=-9223372036854775806 where ukey=1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'c4'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'c4'
|
||||||
update utest1 set c3=-2147483646 where ukey=1;
|
update utest1 set c3=-2147483646 where ukey=1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'c3'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'c3'
|
||||||
update utest1 set c2=-32766 where ukey=1;
|
update utest1 set c2=-32766 where ukey=1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'c2'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'c2'
|
||||||
update utest1 set c1=-254 where ukey between 0 and 2;
|
update utest1 set c1=-254 where ukey between 0 and 2;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'c1'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'c1'
|
||||||
select 'q4', utest1.* from utest1 where ukey<2;
|
select 'q4', utest1.* from utest1 where ukey<2;
|
||||||
q4 ukey c1 c2 c3 c4
|
q4 ukey c1 c2 c3 c4
|
||||||
q4 1 2 3 4 5
|
q4 1 2 3 4 5
|
||||||
@ -89,7 +89,7 @@ INSERT INTO utest3 VALUES (0,2);
|
|||||||
INSERT INTO utest3 VALUES (0,3);
|
INSERT INTO utest3 VALUES (0,3);
|
||||||
INSERT INTO utest3 VALUES (0,4);
|
INSERT INTO utest3 VALUES (0,4);
|
||||||
INSERT INTO utest3 VALUES (0,5);
|
INSERT INTO utest3 VALUES (0,5);
|
||||||
ERROR HY000: Internal error: CAL0001: Insert Failed: IDB-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
ERROR HY000: Internal error: CAL0001: Insert Failed: MCS-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
||||||
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
||||||
q13 ukey c1
|
q13 ukey c1
|
||||||
q13 250 1
|
q13 250 1
|
||||||
@ -103,7 +103,7 @@ INSERT INTO utest3 VALUES (0,2);
|
|||||||
INSERT INTO utest3 VALUES (0,3);
|
INSERT INTO utest3 VALUES (0,3);
|
||||||
INSERT INTO utest3 VALUES (0,4);
|
INSERT INTO utest3 VALUES (0,4);
|
||||||
INSERT INTO utest3 VALUES (0,5);
|
INSERT INTO utest3 VALUES (0,5);
|
||||||
ERROR HY000: Internal error: CAL0001: Insert Failed: IDB-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
ERROR HY000: Internal error: CAL0001: Insert Failed: MCS-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
||||||
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
||||||
q13 ukey c1
|
q13 ukey c1
|
||||||
q13 65530 1
|
q13 65530 1
|
||||||
@ -117,7 +117,7 @@ INSERT INTO utest3 VALUES (0,2);
|
|||||||
INSERT INTO utest3 VALUES (0,3);
|
INSERT INTO utest3 VALUES (0,3);
|
||||||
INSERT INTO utest3 VALUES (0,4);
|
INSERT INTO utest3 VALUES (0,4);
|
||||||
INSERT INTO utest3 VALUES (0,5);
|
INSERT INTO utest3 VALUES (0,5);
|
||||||
ERROR HY000: Internal error: CAL0001: Insert Failed: IDB-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
ERROR HY000: Internal error: CAL0001: Insert Failed: MCS-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
||||||
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
||||||
q13 ukey c1
|
q13 ukey c1
|
||||||
q13 4294967290 1
|
q13 4294967290 1
|
||||||
@ -131,7 +131,7 @@ INSERT INTO utest3 VALUES (0,2);
|
|||||||
INSERT INTO utest3 VALUES (0,3);
|
INSERT INTO utest3 VALUES (0,3);
|
||||||
INSERT INTO utest3 VALUES (0,4);
|
INSERT INTO utest3 VALUES (0,4);
|
||||||
INSERT INTO utest3 VALUES (0,5);
|
INSERT INTO utest3 VALUES (0,5);
|
||||||
ERROR HY000: Internal error: CAL0001: Insert Failed: IDB-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
ERROR HY000: Internal error: CAL0001: Insert Failed: MCS-4012: The maximum allowed value has been exceeded for the autoincrement column data type.
|
||||||
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
SELECT 'q13', utest3.* FROM utest3 ORDER BY utest3.ukey;
|
||||||
q13 ukey c1
|
q13 ukey c1
|
||||||
q13 18446744073709551610 1
|
q13 18446744073709551610 1
|
||||||
|
@ -6,7 +6,7 @@ INSERT INTO utest1 VALUES (1,23,36,4888,51232), (2,253,65533,4294967293,18446744
|
|||||||
INSERT INTO utest1 VALUES (3,54,3766,27483646,922336854775806);
|
INSERT INTO utest1 VALUES (3,54,3766,27483646,922336854775806);
|
||||||
INSERT INTO utest1 VALUES (4,253,65533,4294967293,1846744073709551613);
|
INSERT INTO utest1 VALUES (4,253,65533,4294967293,1846744073709551613);
|
||||||
INSERT INTO utest1 VALUES (5,255,65535,4294967295,18446744073709551615);
|
INSERT INTO utest1 VALUES (5,255,65535,4294967295,18446744073709551615);
|
||||||
ERROR 22003: CAL0001: IDB-2025: Data truncated for column 'c1', 'c2', 'c3', 'c4'
|
ERROR 22003: CAL0001: MCS-2025: Data truncated for column 'c1', 'c2', 'c3', 'c4'
|
||||||
INSERT INTO utest1 VALUES (6,1255,165535,14294967295,118446744073709551615);
|
INSERT INTO utest1 VALUES (6,1255,165535,14294967295,118446744073709551615);
|
||||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||||
SELECT 'q1', utest1.* FROM utest1 ORDER BY 1, 2;
|
SELECT 'q1', utest1.* FROM utest1 ORDER BY 1, 2;
|
||||||
|
@ -489,16 +489,16 @@ cidx CUTINYINT
|
|||||||
select cidx, CUTINYINT from datatypetestm where GREATEST(CTINYINT,CUTINYINT) <> CUTINYINT;
|
select cidx, CUTINYINT from datatypetestm where GREATEST(CTINYINT,CUTINYINT) <> CUTINYINT;
|
||||||
cidx CUTINYINT
|
cidx CUTINYINT
|
||||||
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1;
|
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUTINYINT'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUTINYINT'
|
||||||
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1 WHERE CTINYINT > 0;
|
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1 WHERE CTINYINT > 0;
|
||||||
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1;
|
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUSMALLINT'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUSMALLINT'
|
||||||
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1 WHERE CSMALLINT > 0;
|
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1 WHERE CSMALLINT > 0;
|
||||||
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1;
|
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUINTEGER'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUINTEGER'
|
||||||
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1 WHERE CINTEGER > 0;
|
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1 WHERE CINTEGER > 0;
|
||||||
UPDATE datatypetestm SET CUBIGINT=CBIGINT-1;
|
UPDATE datatypetestm SET CUBIGINT=CBIGINT-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUBIGINT'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUBIGINT'
|
||||||
UPDATE datatypetestm SET CUBIGINT=CBIGINT-1 WHERE CBIGINT > 0;
|
UPDATE datatypetestm SET CUBIGINT=CBIGINT-1 WHERE CBIGINT > 0;
|
||||||
select cidx, CUBIGINT, GREATEST(CUBIGINT,CBIGINT,CUSMALLINT,CSMALLINT,CUTINYINT,CTINYINT,10) from datatypetestm;
|
select cidx, CUBIGINT, GREATEST(CUBIGINT,CBIGINT,CUSMALLINT,CSMALLINT,CUTINYINT,CTINYINT,10) from datatypetestm;
|
||||||
cidx CUBIGINT GREATEST(CUBIGINT,CBIGINT,CUSMALLINT,CSMALLINT,CUTINYINT,CTINYINT,10)
|
cidx CUBIGINT GREATEST(CUBIGINT,CBIGINT,CUSMALLINT,CSMALLINT,CUTINYINT,CTINYINT,10)
|
||||||
|
@ -551,13 +551,13 @@ cidx CUTINYINT
|
|||||||
10 147
|
10 147
|
||||||
11 120
|
11 120
|
||||||
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1;
|
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUTINYINT'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUTINYINT'
|
||||||
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1;
|
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUSMALLINT'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUSMALLINT'
|
||||||
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1;
|
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUINTEGER'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUINTEGER'
|
||||||
UPDATE datatypetestm SET CUBIGINT=CBIGINT-1;
|
UPDATE datatypetestm SET CUBIGINT=CBIGINT-1;
|
||||||
ERROR 22003: CAL0002: IDB-2025: Data truncated for column 'CUBIGINT'
|
ERROR 22003: CAL0002: MCS-2025: Data truncated for column 'CUBIGINT'
|
||||||
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1 WHERE CTINYINT > 0;
|
UPDATE datatypetestm SET CUTINYINT=CTINYINT-1 WHERE CTINYINT > 0;
|
||||||
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1 WHERE CSMALLINT > 0;
|
UPDATE datatypetestm SET CUSMALLINT=CSMALLINT-1 WHERE CSMALLINT > 0;
|
||||||
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1 WHERE CINTEGER > 0;
|
UPDATE datatypetestm SET CUINTEGER=CINTEGER-1 WHERE CINTEGER > 0;
|
||||||
|
@ -26,12 +26,12 @@ SELECT COUNT(*) FROM t1;
|
|||||||
TRUNCATE t1;
|
TRUNCATE t1;
|
||||||
|
|
||||||
#Unknown db
|
#Unknown db
|
||||||
#Error getting OID for table unknown.t1: IDB-2006: 'unknown.t1' does not exist in Columnstore.
|
#Error getting OID for table unknown.t1: MCS-2006: 'unknown.t1' does not exist in Columnstore.
|
||||||
--error 1
|
--error 1
|
||||||
--exec cat $MTR_SUITE_DIR/../100Krows.dat | $MCS_CPIMPORT unknown t1 >/dev/null
|
--exec cat $MTR_SUITE_DIR/../100Krows.dat | $MCS_CPIMPORT unknown t1 >/dev/null
|
||||||
|
|
||||||
#Unknown table
|
#Unknown table
|
||||||
#Error getting OID for table mcs50_db.unknown: IDB-2006: 'mcs50_db.unknown' does not exist in Columnstore.
|
#Error getting OID for table mcs50_db.unknown: MCS-2006: 'mcs50_db.unknown' does not exist in Columnstore.
|
||||||
--error 1
|
--error 1
|
||||||
--exec cat $MTR_SUITE_DIR/../std_data/100Krows.dat | $MCS_CPIMPORT mcs50_db unknown >/dev/null
|
--exec cat $MTR_SUITE_DIR/../std_data/100Krows.dat | $MCS_CPIMPORT mcs50_db unknown >/dev/null
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ exec $MCS_CPIMPORT nonexist_db t1 /tmp/nonexisting.dat 2>&1 | tee /tmp/mcs56.out
|
|||||||
|
|
||||||
exec echo "";
|
exec echo "";
|
||||||
exec echo "Check for the correct error message:";
|
exec echo "Check for the correct error message:";
|
||||||
exec grep -q "IDB-2006: 'nonexist_db.t1' does not exist in Columnstore." /tmp/mcs56.out;
|
exec grep -q "MCS-2006: 'nonexist_db.t1' does not exist in Columnstore." /tmp/mcs56.out;
|
||||||
|
|
||||||
|
|
||||||
# Negative. Non-existing table.
|
# Negative. Non-existing table.
|
||||||
@ -50,7 +50,7 @@ exec $MCS_CPIMPORT mcs56_db nonexist_tbl /tmp/nonexisting.dat 2>&1 | tee /tmp/mc
|
|||||||
|
|
||||||
exec echo "";
|
exec echo "";
|
||||||
exec echo "Check for the correct error message:";
|
exec echo "Check for the correct error message:";
|
||||||
exec grep -q "IDB-2006: 'mcs56_db.nonexist_tbl' does not exist in Columnstore." /tmp/mcs56.out;
|
exec grep -q "MCS-2006: 'mcs56_db.nonexist_tbl' does not exist in Columnstore." /tmp/mcs56.out;
|
||||||
|
|
||||||
# Clean UP
|
# Clean UP
|
||||||
DROP DATABASE mcs56_db;
|
DROP DATABASE mcs56_db;
|
||||||
|
@ -3,9 +3,9 @@ select caldroppartitions('lineitem', '4.1.1');
|
|||||||
caldroppartitions('lineitem', '4.1.1')
|
caldroppartitions('lineitem', '4.1.1')
|
||||||
No partitions are dropped
|
No partitions are dropped
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 9999 IDB-4003: Partition "4.1.1" does not exist.
|
Warning 9999 MCS-4003: Partition "4.1.1" does not exist.
|
||||||
select caldisablepartitions('lineitem', '4.1.1');
|
select caldisablepartitions('lineitem', '4.1.1');
|
||||||
caldisablepartitions('lineitem', '4.1.1')
|
caldisablepartitions('lineitem', '4.1.1')
|
||||||
No partitions are disabled
|
No partitions are disabled
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 9999 IDB-4003: Partition "4.1.1" does not exist.
|
Warning 9999 MCS-4003: Partition "4.1.1" does not exist.
|
||||||
|
Reference in New Issue
Block a user