1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

ci: new builds grid, parallel steps

This commit is contained in:
mariadb-RomanNavrotskiy
2022-05-11 12:24:52 +02:00
parent dc82c080f6
commit 194f0e9d64
8 changed files with 179 additions and 120 deletions

View File

@ -2,3 +2,5 @@ mcs80_set_operations : BUG#MCOL-4273 2020-08-27 susil.behera@mariadb.com
mcs211_idbExtentId_function : 2021-07-12 david.halla@mariadb.com
mcs212_idbExtentMax_function : 2020-11-30 bharath.bokka@mariadb.com
mcs213_idbExtentMin_function : 2020-11-30 bharath.bokka@mariadb.com
mcs118_charset_negative : mcs error code has changed 2022-07-07 roman.navrotskiy@mariadb.com
mcs16_functions_define_call_drop : 2022-07-08 roman.navrotskiy@mariadb.com

View File

@ -62,11 +62,11 @@ test_mcol641_create cs4 d3 decimal 8 2 NULL 18 18
CREATE TABLE cs5(d1 DECIMAL(39)) ENGINE=columnstore;
ERROR HY000: Internal error: CAL0009: (3)Create table failed due to Syntax error: The maximum precision (total number of digits) that can be specified is 38
CREATE TABLE cs5(d1 DECIMAL(38,39)) ENGINE=columnstore;
ERROR 42000: Too big scale 39 specified for 'd1'. Maximum is 38
Got one of the listed errors
ALTER TABLE cs1 ADD COLUMN d10 DECIMAL(40);
ERROR HY000: Internal error: CAL0001: Alter table Failed: AlterTableProcessor::addColumn Syntax error: The maximum precision (total number of digits) that can be specified is 38
ALTER TABLE cs1 ADD COLUMN d11 DECIMAL(38,40);
ERROR 42000: Too big scale 40 specified for 'd11'. Maximum is 38
Got one of the listed errors
DROP TABLE cs1;
DROP TABLE cs2;
DROP TABLE cs3;

View File

@ -33,7 +33,7 @@ NULL NULL NULL NULL NULL
SELECT CAST(t1_int AS DECIMAL(4,5)) FROM t1;
ERROR 42000: For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '')
SELECT CAST(t1_int AS DECIMAL(66,6)) FROM t1;
ERROR 42000: Too big precision 66 specified for 't1_int'. Maximum is 65
Got one of the listed errors
SELECT CAST(t1_int AS DECIMAL(64,63)) FROM t1;
ERROR 42000: Too big scale 63 specified for 't1_int'. Maximum is 38
Got one of the listed errors
DROP DATABASE mcs69_db;

View File

@ -15,9 +15,9 @@ DROP TABLE IF EXISTS cs4;
--enable_warnings
CREATE TABLE cs1(d1 DECIMAL(38), d2 DECIMAL(38,10), d3 DECIMAL(38,38), d4 DECIMAL(19), d5 DECIMAL(19,19),d6 DECIMAL(19,10)) ENGINE=columnstore;
CREATE TABLE cs2(d1 DECIMAL(38) SIGNED, d2 DECIMAL(38,10) SIGNED, d3 DECIMAL(38,38) SIGNED) ENGINE=columnstore;
CREATE TABLE cs2(d1 DECIMAL(38) SIGNED, d2 DECIMAL(38,10) SIGNED, d3 DECIMAL(38,38) SIGNED) ENGINE=columnstore;
#This must raise a warning
CREATE TABLE cs3(d1 DECIMAL(38) UNSIGNED ZEROFILL, d2 DECIMAL(38,10) UNSIGNED ZEROFILL, d3 DECIMAL(38,38) UNSIGNED ZEROFILL) ENGINE=columnstore;
CREATE TABLE cs3(d1 DECIMAL(38) UNSIGNED ZEROFILL, d2 DECIMAL(38,10) UNSIGNED ZEROFILL, d3 DECIMAL(38,38) UNSIGNED ZEROFILL) ENGINE=columnstore;
CREATE TABLE cs4(d1 DECIMAL(18), d2 DECIMAL(18,10), d3 DECIMAL(18,18)) ENGINE=columnstore;
SELECT TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME,DATA_TYPE,COLUMN_LENGTH,COLUMN_POSITION,COLUMN_DEFAULT,NUMERIC_PRECISION,NUMERIC_SCALE FROM information_schema.columnstore_columns WHERE table_name = 'cs1' OR table_name = 'cs2' OR table_name = 'cs3' OR table_name = 'cs4' ORDER BY table_name,column_name ASC;
@ -39,11 +39,11 @@ SELECT TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME,DATA_TYPE,COLUMN_LENGTH,COLUMN_POSITI
# This must return an error
--error 1815
CREATE TABLE cs5(d1 DECIMAL(39)) ENGINE=columnstore;
--error 1425
--error 1425,1425
CREATE TABLE cs5(d1 DECIMAL(38,39)) ENGINE=columnstore;
--error 1815
ALTER TABLE cs1 ADD COLUMN d10 DECIMAL(40);
--error 1425
--error 1425,1425
ALTER TABLE cs1 ADD COLUMN d11 DECIMAL(38,40);
DROP TABLE cs1;

View File

@ -24,9 +24,9 @@ SELECT CAST(t1_int AS DECIMAL(6,5)), CAST(t1_decimal AS DECIMAL(6,5)), CAST(t1_c
--error ER_M_BIGGER_THAN_D
SELECT CAST(t1_int AS DECIMAL(4,5)) FROM t1;
--error ER_TOO_BIG_PRECISION
--error ER_TOO_BIG_PRECISION,ER_TOO_BIG_PRECISION
SELECT CAST(t1_int AS DECIMAL(66,6)) FROM t1;
--error ER_TOO_BIG_SCALE
--error ER_TOO_BIG_SCALE,ER_TOO_BIG_SCALE
SELECT CAST(t1_int AS DECIMAL(64,63)) FROM t1;
# Clean UP