You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-02 06:13:16 +03:00
add more cases in mtr test
This commit is contained in:
committed by
drrtuy
parent
e824ae95f6
commit
e3af51f3b3
@@ -4,14 +4,32 @@ USE test_invalid_args;
|
||||
create table cs1(i bigint)engine=columnstore;
|
||||
select count(i) from cs1 where idbPartition('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbPartition(1) = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbPartition(i) = '0.0.1';
|
||||
count(i)
|
||||
0
|
||||
select count(i) from cs1 where idbExtentMin('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbExtentRelativeRid('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbExtentMin('i') = '0.0.1';
|
||||
select count(i) from cs1 where idbExtentRelativeRid(3) = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbExtentRelativeRid(i);
|
||||
count(i)
|
||||
0
|
||||
select count(i) from cs1 where idbPm('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbPm(10) = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbPm(i);
|
||||
count(i)
|
||||
0
|
||||
select count(i) from cs1 where idbSegmentDir('i') = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbSegmentDir(1) = '0.0.1';
|
||||
ERROR HY000: Internal error: MCS-1006: Function called with unsupported datatype.
|
||||
select count(i) from cs1 where idbSegmentDir(i);
|
||||
count(i)
|
||||
0
|
||||
DROP DATABASE test_invalid_args;
|
||||
|
||||
@@ -13,22 +13,51 @@ create table cs1(i bigint)engine=columnstore;
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbPartition('i') = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbPartition(1) = '0.0.1';
|
||||
|
||||
#correct params
|
||||
select count(i) from cs1 where idbPartition(i) = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbExtentMin('i') = '0.0.1';
|
||||
|
||||
#--error 1815
|
||||
#select count(i) from cs1 where idbExtentMin(i) = '0.0.1';
|
||||
|
||||
#correct params
|
||||
#select count(i) from cs1 where idbExtentMin(1) = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbExtentRelativeRid('i') = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbExtentMin('i') = '0.0.1';
|
||||
select count(i) from cs1 where idbExtentRelativeRid(3) = '0.0.1';
|
||||
|
||||
#correct params
|
||||
select count(i) from cs1 where idbExtentRelativeRid(i);
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbPm('i') = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbSegmentDir('i') = '0.0.1';
|
||||
--source ../include/drop_functions.inc
|
||||
select count(i) from cs1 where idbPm(10) = '0.0.1';
|
||||
|
||||
#correct params
|
||||
select count(i) from cs1 where idbPm(i);
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbSegmentDir('i') = '0.0.1';
|
||||
|
||||
--error 1815
|
||||
select count(i) from cs1 where idbSegmentDir(1) = '0.0.1';
|
||||
|
||||
#correct params
|
||||
select count(i) from cs1 where idbSegmentDir(i);
|
||||
|
||||
|
||||
|
||||
--source ../include/drop_functions.inc
|
||||
|
||||
# Clean UP
|
||||
DROP DATABASE test_invalid_args;
|
||||
|
||||
Reference in New Issue
Block a user