diff --git a/test/distributed/cases/dml/delete/delete.result b/test/distributed/cases/dml/delete/delete.result index 1b09260557507..93c6d1aaf2d3b 100644 --- a/test/distributed/cases/dml/delete/delete.result +++ b/test/distributed/cases/dml/delete/delete.result @@ -254,29 +254,23 @@ insert into t select * from t; insert into t select * from t; insert into t select * from t; insert into t select * from t; -[unknown result because it is related to issue#9447] begin; -[unknown result because it is related to issue#9447] insert into t select * from t; -[unknown result because it is related to issue#9447] delete from t where a = 1; -[unknown result because it is related to issue#9447] select count(*) from t; -[unknown result because it is related to issue#9447] +➤ count(*)[-5,64,0] 𝄀 +8387584 rollback; -[unknown result because it is related to issue#9447] begin; -[unknown result because it is related to issue#9447] insert into t select * from t; -[unknown result because it is related to issue#9447] delete from t where a = 1; -[unknown result because it is related to issue#9447] select count(*) from t; -[unknown result because it is related to issue#9447] +➤ count(*)[-5,64,0] 𝄀 +8387584 commit; -[unknown result because it is related to issue#9447] select count(*) from t; -[unknown result because it is related to issue#9447] +➤ count(*)[-5,64,0] 𝄀 +8387584 drop table if exists temp; drop table if exists t; create table temp(a int); diff --git a/test/distributed/cases/dml/delete/delete.test b/test/distributed/cases/dml/delete/delete.test index a1eabbf25fe00..772c32210e7f1 100644 --- a/test/distributed/cases/dml/delete/delete.test +++ b/test/distributed/cases/dml/delete/delete.test @@ -185,7 +185,6 @@ insert into t select * from t; insert into t select * from t; insert into t select * from t; --- @bvt:issue#9447 insert into t select * from t; begin; insert into t select * from t; @@ -198,7 +197,6 @@ delete from t where a = 1; select count(*) from t; commit; select count(*) from t; --- @bvt:issue # test cn block delete for single table, multi CN drop table if exists temp; diff --git a/test/distributed/cases/dml/show/show.test b/test/distributed/cases/dml/show/show.test index a175af549af88..582abb3ce2487 100755 --- a/test/distributed/cases/dml/show/show.test +++ b/test/distributed/cases/dml/show/show.test @@ -42,7 +42,7 @@ create database test01; use test01; show columns from test02.t1; create database if not exists db11111111111; --- @bvt:issue#10164 +-- @bvt:issue#23677 show table status from db11111111111; -- @bvt:issue drop database db11111111111; diff --git a/test/distributed/cases/dtype/uuid.result b/test/distributed/cases/dtype/uuid.result index bd383949aa96f..6fe33c47be285 100644 --- a/test/distributed/cases/dtype/uuid.result +++ b/test/distributed/cases/dtype/uuid.result @@ -1,8 +1,8 @@ create table t1(a int, b uuid); desc t1; Field Type Null Key Default Extra Comment -a INT(32) YES null -b UUID(0) YES null +a INT(32) YES null +b UUID(0) YES null show create table t1; Table Create Table t1 CREATE TABLE `t1` (\n `a` int DEFAULT NULL,\n `b` uuid DEFAULT NULL\n) @@ -15,7 +15,7 @@ d date ) COMMENT='test uuid parimary key'; show create table t2; Table Create Table -t2 CREATE TABLE `t2` (\n`a` UUID NOT NULL,\n`b` INT DEFAULT NULL,\n`c` VARCHAR(20) DEFAULT NULL,\n`d` DATE DEFAULT NULL,\nPRIMARY KEY (`a`)\n) COMMENT='test uuid parimary key' +t2 CREATE TABLE `t2` (\n `a` uuid NOT NULL,\n `b` int DEFAULT NULL,\n `c` varchar(20) DEFAULT NULL,\n `d` date DEFAULT NULL,\n PRIMARY KEY (`a`)\n) COMMENT='test uuid parimary key' INSERT INTO t2 VALUES ("6d1b1f73-2dbf-11ed-940f-000c29847904",12,'SMITH','1980-12-17'); INSERT INTO t2 VALUES ("ad9f809f-2dbd-11ed-940f-000c29847904",34,'ALLEN','1981-02-20'); INSERT INTO t2 VALUES ("1b50c137-2dba-11ed-940f-000c29847904",15,'WARD','1981-02-22'); @@ -37,9 +37,9 @@ a b c d ad9f809f-2dbd-11ed-940f-000c29847904 34 ALLEN 1981-02-20 select * from t2 where a <= '6d1b1f732dbf11ed940f000c29847904'; a b c d -6d1b1f73-2dbf-11ed-940f-000c29847904 12 SMITH 1980-12-17 -1b50c137-2dba-11ed-940f-000c29847904 15 WARD 1981-02-22 149e3f0f-2de4-11ed-940f-000c29847904 27 JONES 1981-04-02 +1b50c137-2dba-11ed-940f-000c29847904 15 WARD 1981-02-22 +6d1b1f73-2dbf-11ed-940f-000c29847904 12 SMITH 1980-12-17 select * from t2 where a < '6d1b1f732dbf11ed940f000c29847904'; a b c d 1b50c137-2dba-11ed-940f-000c29847904 15 WARD 1981-02-22 diff --git a/test/distributed/cases/dtype/uuid.sql b/test/distributed/cases/dtype/uuid.sql index ed74773423db6..11539a4c1bc18 100644 --- a/test/distributed/cases/dtype/uuid.sql +++ b/test/distributed/cases/dtype/uuid.sql @@ -4,7 +4,6 @@ desc t1; show create table t1; drop table t1; -- test uuid type as primary key --- @bvt:issue#10703 create table t2( a uuid primary key, b int, @@ -25,7 +24,7 @@ select * from t2 where a <= '6d1b1f732dbf11ed940f000c29847904'; select * from t2 where a < '6d1b1f732dbf11ed940f000c29847904'; select * from t2 order by a; drop table t2; --- @bvt:issue + -- uuid type in DQL create table t3(a int, b uuid); insert into t3 values(10, "f6355110-2d0c-11ed-940f-000c29847904"); diff --git a/test/distributed/cases/function/func_math.result b/test/distributed/cases/function/func_math.result index 69ae6e274cf3d..117491ade8127 100755 --- a/test/distributed/cases/function/func_math.result +++ b/test/distributed/cases/function/func_math.result @@ -5,37 +5,37 @@ insert into t1 values(2,2,1.0213,1.001); insert into t1 values(3,null,null,null); insert into t1 values(4,0,0,0); select sinh(d),sinh(fl)from t1; -sinh(d) sinh(fl) -1.1752 1.3379574503777456E53 -3.6269 1.2083 -null null -0.0 0.0 +➤ sinh(d)[8,54,0] ¦ sinh(fl)[8,54,0] 𝄀 +1.1752011936438014 ¦ 1.3379574503777456E53 𝄀 +3.626860407847019 ¦ 1.2083378295843907 𝄀 +null ¦ null 𝄀 +0.0 ¦ 0.0 select atan(d),atan(fl)from t1; -atan(d) atan(fl) -0.7853981633974483 1.5626678322541754 -1.1071487177940906 0.7959355256441749 -null null -0.0 0.0 +➤ atan(d)[8,54,0] ¦ atan(fl)[8,54,0] 𝄀 +0.7853981633974483 ¦ 1.5626678322541752 𝄀 +1.1071487177940904 ¦ 0.7959355256441749 𝄀 +null ¦ null 𝄀 +0.0 ¦ 0.0 select acos(d),acos(fl)from t1; invalid argument acos, bad value 2 select cot(d),cot(fl) from t1; invalid argument cot, bad value 0 select cot(d),cot(fl) from t1 where d <> 0; -cot(d) cot(fl) -0.6420926159343306 1.8340266997618755 --0.4576575543602858 0.6124124816462909 +➤ cot(d)[8,54,0] ¦ cot(fl)[8,54,0] 𝄀 +0.6420926159343306 ¦ 1.8340266997618755 𝄀 +-0.4576575543602858 ¦ 0.6124124816462909 select tan(d),tan(fl) from t1; -tan(d) tan(fl) -1.557407724654902 0.5452483326059671 --2.185039863261519 1.632886379637126 -null null -0.0 0.0 +➤ tan(d)[8,54,0] ¦ tan(fl)[8,54,0] 𝄀 +1.557407724654902 ¦ 0.5452483326059671 𝄀 +-2.185039863261519 ¦ 1.632886379637126 𝄀 +null ¦ null 𝄀 +0.0 ¦ 0.0 select sin(d),sin(fl) from t1; -sin(d) sin(fl) -0.8414709848078965 -0.47871259002208294 -0.9092974268256817 0.8527876556479776 -null null -0.0 0.0 +➤ sin(d)[8,54,0] ¦ sin(fl)[8,54,0] 𝄀 +0.8414709848078965 ¦ -0.47871259002208294 𝄀 +0.9092974268256816 ¦ 0.8527876556479776 𝄀 +null ¦ null 𝄀 +0.0 ¦ 0.0 drop table if exists abs; create table abs(id int,d int,dl double,fl float,de decimal); insert into abs values(1,-10,-10,-10.0321,-10.312); @@ -45,55 +45,55 @@ insert into abs values(4,-31232,-9223372036854775808,-1312.0321,-973.3072); insert into abs values(1,-6,-432432.43,-8756.4321,-356.421); insert into abs values(1,null,null,null,null); select abs(d),abs(dl),abs(fl) from abs; -abs(d) abs(dl) abs(fl) -10 10.0 10.032099723815918 -2 2.0 2.032099962234497 -10 1.8446744073709552E19 10.032099723815918 -31232 9.223372036854776E18 1312.0321044921875 -6 432432.43 8756.431640625 -null null null +➤ abs(d)[-5,64,0] ¦ abs(dl)[8,54,0] ¦ abs(fl)[8,54,0] 𝄀 +10 ¦ 10.0 ¦ 10.032099723815918 𝄀 +2 ¦ 2.0 ¦ 2.032099962234497 𝄀 +10 ¦ 1.8446744073709552E19 ¦ 10.032099723815918 𝄀 +31232 ¦ 9.223372036854776E18 ¦ 1312.0321044921875 𝄀 +6 ¦ 432432.43 ¦ 8756.431640625 𝄀 +null ¦ null ¦ null select abs(d)-2 from t1; -abs(d)-2 --1 -0 -null +➤ abs(d) - 2[-5,64,0] 𝄀 +-1 𝄀 +0 𝄀 +null 𝄀 -2 select abs(d)*2 from t1; -abs(d)*2 -2 -4 -null +➤ abs(d) * 2[-5,64,0] 𝄀 +2 𝄀 +4 𝄀 +null 𝄀 0 select abs(tan(d))*2 from t1; -abs(tan(d))*2 -3.114815449309804 -4.370079726523038 -null +➤ abs(tan(d)) * 2[8,54,0] 𝄀 +3.114815449309804 𝄀 +4.370079726523038 𝄀 +null 𝄀 0.0 drop table if exists ceil; -create table ceil(id int,d int,dl double,fl float,de decimal); +create table ceil(id int primary key,d int,dl double,fl float,de decimal); insert into ceil values(1,5,5,-5.5,-5.5); insert into ceil values(2,-2,18446744073709551614,-2.5,-5.2); -insert into ceil values(2,-1,18446744073709551614,1.23,-1.23); -insert into ceil values(2,-1,1844674407370955161,1.23,-1.23); -insert into ceil values(2,-1,-9223372036854775808,1.23,-1.23); -insert into ceil values(2,-1,-184467440737095516,1.23,-1.23); -insert into ceil values(2,-1,-922337203685477580,1.23,-1.23); -insert into ceil values(2,-1,-922337203685477580,1.23,-1.23); -insert into ceil values(2,-1,-99999999999999999.9,1.23,-1.23); -insert into ceil values(2,-1,-99999999999999999.9,1.23,-1.23); -select ceil(d),ceil(dl),ceil(fl) from ceil; -ceil(d) ceil(dl) ceil(fl) -5 5.0 -5.0 --2 1.8446744073709552E19 -2.0 --1 1.8446744073709552E19 2.0 --1 1.8446744073709553E18 2.0 --1 -9.223372036854776E18 2.0 --1 -1.8446744073709552E17 2.0 --1 -9.223372036854776E17 2.0 --1 -9.223372036854776E17 2.0 --1 -1.0E17 2.0 --1 -1.0E17 2.0 +insert into ceil values(3,-1,18446744073709551614,1.23,-1.23); +insert into ceil values(4,-1,1844674407370955161,1.23,-1.23); +insert into ceil values(5,-1,-9223372036854775808,1.23,-1.23); +insert into ceil values(6,-1,-184467440737095516,1.23,-1.23); +insert into ceil values(7,-1,-922337203685477580,1.23,-1.23); +insert into ceil values(8,-1,-922337203685477580,1.23,-1.23); +insert into ceil values(9,-1,-99999999999999999.9,1.23,-1.23); +insert into ceil values(10,-1,-99999999999999999.9,1.23,-1.23); +select id,ceil(d),ceil(dl),ceil(fl) from ceil; +➤ id[4,32,0] ¦ ceil(d)[-5,64,0] ¦ ceil(dl)[8,54,0] ¦ ceil(fl)[8,54,0] 𝄀 +1 ¦ 5 ¦ 5.0 ¦ -5.0 𝄀 +2 ¦ -2 ¦ 1.8446744073709552E19 ¦ -2.0 𝄀 +3 ¦ -1 ¦ 1.8446744073709552E19 ¦ 2.0 𝄀 +4 ¦ -1 ¦ 1.8446744073709553E18 ¦ 2.0 𝄀 +5 ¦ -1 ¦ -9.223372036854776E18 ¦ 2.0 𝄀 +6 ¦ -1 ¦ -1.8446744073709552E17 ¦ 2.0 𝄀 +7 ¦ -1 ¦ -9.223372036854776E17 ¦ 2.0 𝄀 +8 ¦ -1 ¦ -9.223372036854776E17 ¦ 2.0 𝄀 +9 ¦ -1 ¦ -1.0E17 ¦ 2.0 𝄀 +10 ¦ -1 ¦ -1.0E17 ¦ 2.0 drop table t1; drop table ceil; drop table abs; diff --git a/test/distributed/cases/function/func_math.sql b/test/distributed/cases/function/func_math.sql index a48d9eb30eb92..763998156e971 100755 --- a/test/distributed/cases/function/func_math.sql +++ b/test/distributed/cases/function/func_math.sql @@ -43,27 +43,24 @@ select abs(tan(d))*2 from t1; -- @suite -- @setup --- @bvt:issue#10748 drop table if exists ceil; -create table ceil(id int,d int,dl double,fl float,de decimal); +create table ceil(id int primary key,d int,dl double,fl float,de decimal); insert into ceil values(1,5,5,-5.5,-5.5); insert into ceil values(2,-2,18446744073709551614,-2.5,-5.2); -insert into ceil values(2,-1,18446744073709551614,1.23,-1.23); -insert into ceil values(2,-1,1844674407370955161,1.23,-1.23); -insert into ceil values(2,-1,-9223372036854775808,1.23,-1.23); -insert into ceil values(2,-1,-184467440737095516,1.23,-1.23); -insert into ceil values(2,-1,-922337203685477580,1.23,-1.23); -insert into ceil values(2,-1,-922337203685477580,1.23,-1.23); -insert into ceil values(2,-1,-99999999999999999.9,1.23,-1.23); -insert into ceil values(2,-1,-99999999999999999.9,1.23,-1.23); +insert into ceil values(3,-1,18446744073709551614,1.23,-1.23); +insert into ceil values(4,-1,1844674407370955161,1.23,-1.23); +insert into ceil values(5,-1,-9223372036854775808,1.23,-1.23); +insert into ceil values(6,-1,-184467440737095516,1.23,-1.23); +insert into ceil values(7,-1,-922337203685477580,1.23,-1.23); +insert into ceil values(8,-1,-922337203685477580,1.23,-1.23); +insert into ceil values(9,-1,-99999999999999999.9,1.23,-1.23); +insert into ceil values(10,-1,-99999999999999999.9,1.23,-1.23); -- @case -- @desc:test for abs -- @label:bvt -select ceil(d),ceil(dl),ceil(fl) from ceil; - +select id,ceil(d),ceil(dl),ceil(fl) from ceil; drop table t1; drop table ceil; drop table abs; --- @bvt:issue diff --git a/test/distributed/cases/function/func_math_floor.test b/test/distributed/cases/function/func_math_floor.test index 1188140651bd7..0ff00f511ff5b 100644 --- a/test/distributed/cases/function/func_math_floor.test +++ b/test/distributed/cases/function/func_math_floor.test @@ -173,9 +173,7 @@ drop table t1; select floor(123.342, 1); select floor(123.45, -1); select floor(123.342124124214, 100); --- @bvt:issue#9034 select floor(-123.342124124214, -100); --- @bvt:issue select floor(123.342, null); diff --git a/test/distributed/cases/pessimistic_transaction/clone/clone.result b/test/distributed/cases/pessimistic_transaction/clone/clone.result index 1ae7b63779d34..c5d74ea18b36c 100644 --- a/test/distributed/cases/pessimistic_transaction/clone/clone.result +++ b/test/distributed/cases/pessimistic_transaction/clone/clone.result @@ -1023,17 +1023,11 @@ drop snapshot sp09; drop snapshot sp10; drop snapshot sp11; drop account if exists acc05; - create account acc05 admin_name = 'test_account' identified by '111'; - drop database if exists test12; - create database test12; - use test12; - drop table if exists t1; - create table t1 ( a bigint not null, b bigint not null default 0, @@ -1046,87 +1040,57 @@ h bigint not null default 0, i bigint not null default 0, j bigint not null default 0, primary key (a)); - insert into t1 (a) values (2),(4),(6),(8),(10),(12),(14),(16),(18),(20),(22),(24),(26),(23); - drop table if exists bit01; - create table bit01(id char(1), b binary(10)); - insert into bit01 values('a', '111'); - insert into bit01 values('a', '110'); - insert into bit01 values('a', '143'); - insert into bit01 values('a', '000'); - insert into bit01 values('b', '001'); - insert into bit01 values('b', '011'); - insert into bit01 values('c', '010'); - insert into bit01 values('d', null); - select * from bit01; - +id b +a 111 +a 110 +a 143 +a 000 +b 001 +b 011 +c 010 +d null drop table if exists time01; - create table time01 (a datetime(0) not null, primary key(a)); - insert into time01 values ('20200101000000'), ('2022-01-02'), ('2022-01-02 00:00:01'), ('2022-01-02 00:00:01.512345'); - drop table if exists double01; - create table double01 (a double not null, primary key(a)); - insert into double01 values(-1.7976931348623157E+308),(-2.2250738585072014E-308),(0),(2.2250738585072014E-308),(1.7976931348623157E+308); - drop table if exists tinyint01; - create table tinyint01 (a tinyint unsigned not null, primary key(a)); - insert into tinyint01 values (255), (0xFC), (254), (253); - SET experimental_hnsw_index = 1; - drop database if exists test13; - create database test13; - use test13; - drop table if exists vector_index_09; - create table vector_index_09(a bigint primary key, b vecf32(128),c int,key c_k(c)); - create index idx01 using hnsw on vector_index_09(b) op_type "vector_l2_ops"; - insert into vector_index_09 values(9774 ,NULL,3),(9775,NULL,10); - insert into vector_index_09(a,c) values(9777,4),(9778,9); - drop table if exists vector_ip_01; - create table vector_ip_01(a bigint primary key, b vecf32(128), c int, key c_k(c)); - insert into vector_ip_01 values(9774 ,normalize_l2("[1, 0, 1, 6, 6, 17, 47, 39, 2, 0, 1, 25, 27, 10, 56, 130, 18, 5, 2, 6, 15, 2, 19, 130, 42, 28, 1, 1, 2, 1, 0, 5, 0, 2, 4, 4, 31, 34, 44, 35, 9, 3, 8, 11, 33, 12, 61, 130, 130, 17, 0, 1, 6, 2, 9, 130, 111, 36, 0, 0, 11, 9, 1, 12, 2, 100, 130, 28, 7, 2, 6, 7, 9, 27, 130, 83, 5, 0, 1, 18, 130, 130, 84, 9, 0, 0, 2, 24, 111, 24, 0, 1, 37, 24, 2, 10, 12, 62, 33, 3, 0, 0, 0, 1, 3, 16, 106, 28, 0, 0, 0, 0, 17, 46, 85, 10, 0, 0, 1, 4, 11, 4, 2, 2, 9, 14, 8, 8]"),3),(9775,normalize_l2("[0, 1, 1, 3, 0, 3, 46, 20, 1, 4, 17, 9, 1, 17, 108, 15, 0, 3, 37, 17, 6, 15, 116, 16, 6, 1, 4, 7, 7, 7, 9, 6, 0, 8, 10, 4, 26, 129, 27, 9, 0, 0, 5, 2, 11, 129, 129, 12, 103, 4, 0, 0, 2, 31, 129, 129, 94, 4, 0, 0, 0, 3, 13, 42, 0, 15, 38, 2, 70, 129, 1, 0, 5, 10, 40, 12, 74, 129, 6, 1, 129, 39, 6, 1, 2, 22, 9, 33, 122, 13, 0, 0, 0, 0, 5, 23, 4, 11, 9, 12, 45, 38, 1, 0, 0, 4, 36, 38, 57, 32, 0, 0, 82, 22, 9, 5, 13, 11, 3, 94, 35, 3, 0, 0, 0, 1, 16, 97]"),5),(9776,normalize_l2("[10, 3, 8, 5, 48, 26, 5, 16, 17, 0, 0, 2, 132, 53, 1, 16, 112, 6, 0, 0, 7, 2, 1, 48, 48, 15, 18, 31, 3, 0, 0, 9, 6, 10, 19, 27, 50, 46, 17, 9, 18, 1, 4, 48, 132, 23, 3, 5, 132, 9, 4, 3, 11, 0, 2, 46, 84, 12, 10, 10, 1, 0, 12, 76, 26, 22, 16, 26, 35, 15, 3, 16, 15, 1, 51, 132, 125, 8, 1, 2, 132, 51, 67, 91, 8, 0, 0, 30, 126, 39, 32, 38, 4, 0, 1, 12, 24, 2, 2, 2, 4, 7, 2, 19, 93, 19, 70, 92, 2, 3, 1, 21, 36, 58, 132, 94, 0, 0, 0, 0, 21, 25, 57, 48, 1, 0, 0, 1]"),3); - insert into vector_ip_01 values(9777, normalize_l2("[16, 15, 0, 0, 5, 46, 5, 5, 4, 0, 0, 0, 28, 118, 12, 5, 75, 44, 5, 0, 6, 32, 6, 49, 41, 74, 9, 1, 0, 0, 0, 9, 1, 9, 16, 41, 71, 80, 3, 0, 0, 4, 3, 5, 51, 106, 11, 3, 112, 28, 13, 1, 4, 8, 3, 104, 118, 14, 1, 1, 0, 0, 0, 88, 3, 27, 46, 118, 108, 49, 2, 0, 1, 46, 118, 118, 27, 12, 0, 0, 33, 118, 118, 8, 0, 0, 0, 4, 118, 95, 40, 0, 0, 0, 1, 11, 27, 38, 12, 12, 18, 29, 3, 2, 13, 30, 94, 78, 30, 19, 9, 3, 31, 45, 70, 42, 15, 1, 3, 12, 14, 22, 16, 2, 3, 17, 24, 13]"),4),(9778,normalize_l2("[41, 0, 0, 7, 1, 1, 20, 67, 9, 0, 0, 0, 0, 31, 120, 61, 25, 0, 0, 0, 0, 10, 120, 90, 32, 0, 0, 1, 13, 11, 22, 50, 4, 0, 2, 93, 40, 15, 37, 18, 12, 2, 2, 19, 8, 44, 120, 25, 120, 5, 0, 0, 0, 2, 48, 97, 102, 14, 3, 3, 11, 9, 34, 41, 0, 0, 4, 120, 56, 3, 4, 5, 6, 15, 37, 116, 28, 0, 0, 3, 120, 120, 24, 6, 2, 0, 1, 28, 53, 90, 51, 11, 11, 2, 12, 14, 8, 6, 4, 30, 9, 1, 4, 22, 25, 79, 120, 66, 5, 0, 0, 6, 42, 120, 91, 43, 15, 2, 4, 39, 12, 9, 9, 12, 15, 5, 24, 36]"),4); - create index idx01 using hnsw on vector_ip_01(b) op_type "vector_ip_ops"; - show create table vector_ip_01; - +Table Create Table +vector_ip_01 CREATE TABLE `vector_ip_01` (\n `a` bigint NOT NULL,\n `b` vecf32(128) DEFAULT NULL,\n `c` int DEFAULT NULL,\n PRIMARY KEY (`a`),\n KEY `c_k` (`c`),\n KEY `idx01` USING hnsw (`b`) op_type 'vector_ip_ops' \n) drop database if exists test14; - create database test14; - use test14; - drop table if exists index03; - create table index03 ( emp_no int not null, birth_date date not null, @@ -1141,34 +1105,30 @@ partition p02 values less than (200001), partition p03 values less than (300001), partition p04 values less than (400001) ); - insert into index03 values (9001,'1980-12-17', 'SMITH', 'CLERK', 'F', '2008-12-17'), (9002,'1981-02-20', 'ALLEN', 'SALESMAN', 'F', '2008-02-20'), (9003,'1991-02-20', 'Bob', 'TEACHER', 'M', '2008-02-20'), (9004,'1999-02-20', 'MARY', 'PROGRAMMER', 'M', '2008-02-20'); - select * from index03; - +emp_no birth_date first_name last_name gender hire_date +9001 1980-12-17 SMITH CLERK F 2008-12-17 +9002 1981-02-20 ALLEN SALESMAN F 2008-02-20 +9003 1991-02-20 Bob TEACHER M 2008-02-20 +9004 1999-02-20 MARY PROGRAMMER M 2008-02-20 drop database if exists test15; - create database test15; - use test15; - drop table if exists departments; - create table departments ( department_id INT primary key auto_increment, department_name varchar(100) ); - show create table departments; - +Table Create Table +departments CREATE TABLE `departments` (\n `department_id` int NOT NULL AUTO_INCREMENT,\n `department_name` varchar(100) DEFAULT NULL,\n PRIMARY KEY (`department_id`)\n) insert into departments (department_id, department_name) values (1, 'HR'),(2, 'Engineering'); - drop table if exists employees; - create table employees ( employee_id INT primary key, first_name varchar(50), @@ -1176,118 +1136,104 @@ last_name varchar(50), department_id INT, FOREIGN KEY (department_id) REFERENCES departments(department_id) ); - insert into employees values (1, 'John', 'Doe', 1), (2, 'Jane', 'Smith', 2), (3, 'Bob', 'Johnson', 1); - drop view if exists employee_view; - create view employee_view as select employee_id, first_name, last_name, department_id from employees; - drop database if exists test12_new; - drop database if exists test13_new; - drop database if exists test14_new; - drop database if exists test15_new; - create database test12_new clone test12; - create database test13_new clone test13; - use test12_new; - drop table t1; - drop table bit01; - drop database if exists test12_new_new; - drop database if exists test13_new_new; - drop database if exists test14_new_new; - drop database if exists test15_new_new; - create database test12_new_new clone test12_new; - create database test13_new_new clone test13_new; - use test12_new_new; - show tables; - +Tables_in_test12_new_new +double01 +time01 +tinyint01 select * from double01; - +a +-1.7976931348623157E308 +-2.2250738585072014E-308 +0.0 +2.2250738585072014E-308 +1.7976931348623157E308 show create table time01; - +Table Create Table +time01 CREATE TABLE `time01` (\n `a` datetime NOT NULL,\n PRIMARY KEY (`a`)\n) select * from tinyint01; - +a +252 +253 +254 +255 create database test14_new clone test14; - create database test15_new clone test15; - drop database test14; - use test15_new; - drop table employees; - create database test14_new_new clone test14_new; - create database test15_new_new clone test15_new; - +SQL parser error: table "employees" does not exist drop database test12; - use test13; - drop table if exists vector_index_09; - drop table if exists vector_ip_01; - drop database test15; - drop database test12_new; - use test13_new; - drop table if exists vector_index_09; - drop table if exists vector_ip_01; - use test14_new; - truncate index03; - drop database test15_new; - use test12_new_new; - select * from time01; - +a +2020-01-01 00:00:00 +2022-01-02 00:00:00 +2022-01-02 00:00:01 +2022-01-02 00:00:02 select count(*) from tinyint01; - +count(*) +4 use test13_new_new; - select * from vector_index_09; - +a b c +9774 null 3 +9775 null 10 +9777 null 4 +9778 null 9 select * from vector_ip_01; - +a b c +9774 [0.0019665654, 0, 0.0019665654, 0.011799393, 0.011799393, 0.033431612, 0.09242858, 0.07669605, 0.0039331308, 0, 0.0019665654, 0.04916414, 0.053097267, 0.019665655, 0.110127665, 0.2556535, 0.035398178, 0.009832827, 0.0039331308, 0.011799393, 0.029498482, 0.0039331308, 0.037364744, 0.2556535, 0.08259575, 0.055063833, 0.0019665654, 0.0019665654, 0.0039331308, 0.0019665654, 0, 0.009832827, 0, 0.0039331308, 0.0078662615, 0.0078662615, 0.06096353, 0.066863224, 0.08652888, 0.06882979, 0.017699089, 0.0058996966, 0.015732523, 0.02163222, 0.06489666, 0.023598786, 0.119960494, 0.2556535, 0.2556535, 0.033431612, 0, 0.0019665654, 0.011799393, 0.0039331308, 0.017699089, 0.2556535, 0.21828876, 0.070796356, 0, 0, 0.02163222, 0.017699089, 0.0019665654, 0.023598786, 0.0039331308, 0.19665655, 0.2556535, 0.055063833, 0.013765958, 0.0039331308, 0.011799393, 0.013765958, 0.017699089, 0.053097267, 0.2556535, 0.16322494, 0.009832827, 0, 0.0019665654, 0.035398178, 0.2556535, 0.2556535, 0.1651915, 0.017699089, 0, 0, 0.0039331308, 0.047197573, 0.21828876, 0.047197573, 0, 0.0019665654, 0.07276292, 0.047197573, 0.0039331308, 0.019665655, 0.023598786, 0.12192706, 0.06489666, 0.0058996966, 0, 0, 0, 0.0019665654, 0.0058996966, 0.031465046, 0.20845594, 0.055063833, 0, 0, 0, 0, 0.033431612, 0.090462014, 0.16715807, 0.019665655, 0, 0, 0.0019665654, 0.0078662615, 0.02163222, 0.0078662615, 0.0039331308, 0.0039331308, 0.017699089, 0.027531916, 0.015732523, 0.015732523] 3 +9775 [0, 0.0019629742, 0.0019629742, 0.0058889226, 0, 0.0058889226, 0.09029681, 0.039259482, 0.0019629742, 0.007851897, 0.033370562, 0.017666768, 0.0019629742, 0.033370562, 0.2120012, 0.029444613, 0, 0.0058889226, 0.07263005, 0.033370562, 0.011777845, 0.029444613, 0.227705, 0.031407587, 0.011777845, 0.0019629742, 0.007851897, 0.013740819, 0.013740819, 0.013740819, 0.017666768, 0.011777845, 0, 0.015703794, 0.019629741, 0.007851897, 0.051037326, 0.25322366, 0.0530003, 0.017666768, 0, 0, 0.009814871, 0.0039259484, 0.021592716, 0.25322366, 0.25322366, 0.02355569, 0.20218635, 0.007851897, 0, 0, 0.0039259484, 0.0608522, 0.25322366, 0.25322366, 0.18451957, 0.007851897, 0, 0, 0, 0.0058889226, 0.025518663, 0.08244491, 0, 0.029444613, 0.074593015, 0.0039259484, 0.1374082, 0.25322366, 0.0019629742, 0, 0.009814871, 0.019629741, 0.078518964, 0.02355569, 0.1452601, 0.25322366, 0.011777845, 0.0019629742, 0.25322366, 0.07655599, 0.011777845, 0.0019629742, 0.0039259484, 0.04318543, 0.017666768, 0.06477815, 0.23948285, 0.025518663, 0, 0, 0, 0, 0.009814871, 0.045148406, 0.007851897, 0.021592716, 0.017666768, 0.02355569, 0.08833384, 0.074593015, 0.0019629742, 0, 0, 0.007851897, 0.07066707, 0.074593015, 0.111889526, 0.062815174, 0, 0, 0.16096388, 0.04318543, 0.017666768, 0.009814871, 0.025518663, 0.021592716, 0.0058889226, 0.18451957, 0.0687041, 0.0058889226, 0, 0, 0, 0.0019629742, 0.031407587, 0.1904085] 5 +9776 [0.01968958, 0.005906874, 0.015751664, 0.00984479, 0.09450998, 0.051192906, 0.00984479, 0.031503327, 0.033472285, 0, 0, 0.003937916, 0.25990245, 0.10435477, 0.001968958, 0.031503327, 0.2205233, 0.011813748, 0, 0, 0.013782706, 0.003937916, 0.001968958, 0.09450998, 0.09450998, 0.02953437, 0.035441242, 0.061037697, 0.005906874, 0, 0, 0.017720621, 0.011813748, 0.01968958, 0.0374102, 0.053161863, 0.0984479, 0.09057207, 0.033472285, 0.017720621, 0.035441242, 0.001968958, 0.007875832, 0.09450998, 0.25990245, 0.045286033, 0.005906874, 0.00984479, 0.25990245, 0.017720621, 0.007875832, 0.005906874, 0.021658538, 0, 0.003937916, 0.09057207, 0.16539247, 0.023627495, 0.01968958, 0.01968958, 0.001968958, 0, 0.023627495, 0.1496408, 0.051192906, 0.043317076, 0.031503327, 0.051192906, 0.06891353, 0.02953437, 0.005906874, 0.031503327, 0.02953437, 0.001968958, 0.100416854, 0.25990245, 0.24611974, 0.015751664, 0.001968958, 0.003937916, 0.25990245, 0.100416854, 0.13192019, 0.17917517, 0.015751664, 0, 0, 0.05906874, 0.2480887, 0.07678936, 0.063006654, 0.0748204, 0.007875832, 0, 0.001968958, 0.023627495, 0.04725499, 0.003937916, 0.003937916, 0.003937916, 0.007875832, 0.013782706, 0.003937916, 0.0374102, 0.18311308, 0.0374102, 0.13782705, 0.18114413, 0.003937916, 0.005906874, 0.001968958, 0.04134812, 0.070882484, 0.114199564, 0.25990245, 0.18508205, 0, 0, 0, 0, 0.04134812, 0.04922395, 0.11223061, 0.09450998, 0.001968958, 0, 0, 0.001968958] 3 +9777 [0.03149466, 0.029526243, 0, 0, 0.009842081, 0.090547144, 0.009842081, 0.009842081, 0.007873665, 0, 0, 0, 0.055115655, 0.23227312, 0.023620995, 0.009842081, 0.14763121, 0.08661032, 0.009842081, 0, 0.011810497, 0.06298932, 0.011810497, 0.09645239, 0.08070506, 0.1456628, 0.017715747, 0.0019684162, 0, 0, 0, 0.017715747, 0.0019684162, 0.017715747, 0.03149466, 0.08070506, 0.13975756, 0.1574733, 0.0059052487, 0, 0, 0.007873665, 0.0059052487, 0.009842081, 0.10038923, 0.20865212, 0.02165258, 0.0059052487, 0.22046262, 0.055115655, 0.02558941, 0.0019684162, 0.007873665, 0.01574733, 0.0059052487, 0.20471528, 0.23227312, 0.027557828, 0.0019684162, 0.0019684162, 0, 0, 0, 0.17322063, 0.0059052487, 0.053147238, 0.090547144, 0.23227312, 0.21258895, 0.09645239, 0.0039368323, 0, 0.0019684162, 0.090547144, 0.23227312, 0.23227312, 0.053147238, 0.023620995, 0, 0, 0.06495774, 0.23227312, 0.23227312, 0.01574733, 0, 0, 0, 0.007873665, 0.23227312, 0.18699954, 0.07873665, 0, 0, 0, 0.0019684162, 0.02165258, 0.053147238, 0.07479981, 0.023620995, 0.023620995, 0.035431493, 0.05708407, 0.0059052487, 0.0039368323, 0.02558941, 0.059052486, 0.18503113, 0.15353647, 0.059052486, 0.037399907, 0.017715747, 0.0059052487, 0.061020903, 0.08857873, 0.13778913, 0.08267348, 0.029526243, 0.0019684162, 0.0059052487, 0.023620995, 0.027557828, 0.04330516, 0.03149466, 0.0039368323, 0.0059052487, 0.033463076, 0.04724199, 0.02558941] 4 +9778 [0.08063698, 0, 0, 0.01376729, 0.0019667556, 0.0019667556, 0.039335113, 0.13177262, 0.0177008, 0, 0, 0, 0, 0.060969424, 0.23601067, 0.119972095, 0.049168892, 0, 0, 0, 0, 0.019667557, 0.23601067, 0.177008, 0.06293618, 0, 0, 0.0019667556, 0.025567824, 0.021634312, 0.043268625, 0.098337784, 0.007867022, 0, 0.003933511, 0.18290828, 0.078670226, 0.029501334, 0.07276996, 0.0354016, 0.023601068, 0.003933511, 0.003933511, 0.037368357, 0.015734045, 0.08653725, 0.23601067, 0.049168892, 0.23601067, 0.009833778, 0, 0, 0, 0.003933511, 0.09440427, 0.1907753, 0.20060907, 0.02753458, 0.005900267, 0.005900267, 0.021634312, 0.0177008, 0.06686969, 0.08063698, 0, 0, 0.007867022, 0.23601067, 0.11013832, 0.005900267, 0.007867022, 0.009833778, 0.011800534, 0.029501334, 0.07276996, 0.22814366, 0.05506916, 0, 0, 0.005900267, 0.23601067, 0.23601067, 0.047202136, 0.011800534, 0.003933511, 0, 0.0019667556, 0.05506916, 0.10423805, 0.177008, 0.10030454, 0.021634312, 0.021634312, 0.003933511, 0.023601068, 0.02753458, 0.015734045, 0.011800534, 0.007867022, 0.059002668, 0.0177008, 0.0019667556, 0.007867022, 0.043268625, 0.049168892, 0.15537369, 0.23601067, 0.12980588, 0.009833778, 0, 0, 0.011800534, 0.08260374, 0.23601067, 0.17897476, 0.08457049, 0.029501334, 0.003933511, 0.007867022, 0.076703474, 0.023601068, 0.0177008, 0.0177008, 0.023601068, 0.029501334, 0.009833778, 0.047202136, 0.0708032] 4 use test14_new_new; - show create table index03; - +Table Create Table +index03 CREATE TABLE `index03` (\n `emp_no` int NOT NULL,\n `birth_date` date NOT NULL,\n `first_name` varchar(14) NOT NULL,\n `last_name` varchar(16) NOT NULL,\n `gender` varchar(5) NOT NULL,\n `hire_date` date NOT NULL,\n PRIMARY KEY (`emp_no`)\n) partition by range columns (`emp_no`) (partition p01 values less than (100001), partition p02 values less than (200001), partition p03 values less than (300001), partition p04 values less than (400001)) use test15_new_new; - +Unknown database test15_new_new select * from departments; - +SQL parser error: table "departments" does not exist show create table departments; - +no such table test14_new_new.departments drop account acc05; - show databases; Database clone diff --git a/test/distributed/cases/pessimistic_transaction/clone/clone.sql b/test/distributed/cases/pessimistic_transaction/clone/clone.sql index eb75e8f1df1e3..a94648f875f27 100644 --- a/test/distributed/cases/pessimistic_transaction/clone/clone.sql +++ b/test/distributed/cases/pessimistic_transaction/clone/clone.sql @@ -534,7 +534,6 @@ drop snapshot sp11; -- b clone a, c clone b, d clone c in the same account --- @bvt:issue#22363 drop account if exists acc05; create account acc05 admin_name = 'test_account' identified by '111'; -- @session:id=5&user=acc05:test_account&password=111 @@ -697,5 +696,4 @@ select * from departments; show create table departments; -- @session drop account acc05; --- @bvt:issue show databases; diff --git a/test/distributed/cases/pessimistic_transaction/transaction_enhance.result b/test/distributed/cases/pessimistic_transaction/transaction_enhance.result index eca3de7ed5e1c..f99327118b1c1 100644 --- a/test/distributed/cases/pessimistic_transaction/transaction_enhance.result +++ b/test/distributed/cases/pessimistic_transaction/transaction_enhance.result @@ -512,4 +512,4 @@ col1 col2 4 b 5 c 5 h -6 h +6 h \ No newline at end of file diff --git a/test/distributed/cases/qexec/group.result b/test/distributed/cases/qexec/group.result index b41d4b55dfcae..70a110aa171d5 100644 --- a/test/distributed/cases/qexec/group.result +++ b/test/distributed/cases/qexec/group.result @@ -20,11 +20,11 @@ case when result % 10 = 0 then null else result end, cast(result as varbinary) from generate_series(1, 1000000) gt; select count(*) from t; -count(*) +➤ count(*)[-5,64,0] 𝄀 1000000 insert into t select * from t; select count(*) from t; -count(*) +➤ count(*)[-5,64,0] 𝄀 2000000 select count(*), count(a), count(b), count(b2), count(b3), count(b4), count(b5), @@ -39,8 +39,8 @@ max(c), max(d), max(f), max(g), max(ts), max(dt), max(dd), max(u), max(bin) from t; -count(*) count(a) count(b) count(b2) count(b3) count(b4) count(b5) count(c) count(d) count(f) count(g) count(ts) count(dt) count(dd) count(u) count(j) count(bin) avg(a) avg(b2) avg(b3) avg(b4) avg(b5) avg(d) avg(f) avg(g) max(a) max(b) max(b2) max(b3) max(b4) max(b5) max(c) max(d) max(f) max(g) max(ts) max(dt) max(dd) max(u) max(bin) -2000000 2000000 2000000 2000000 2000000 2000000 2000000 1800000 1800000 1800000 1800000 2000000 2000000 2000000 2000000 2000000 2000000 500000.5 4.5 49.5 499.5 500000.5 500000.00000000 500000.0 500000.0 1000000 1 9 99 999 1000000 foobar9zoo 999999.00 999999.0 999999.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999999 +➤ count(*)[-5,64,0] ¦ count(a)[-5,64,0] ¦ count(b)[-5,64,0] ¦ count(b2)[-5,64,0] ¦ count(b3)[-5,64,0] ¦ count(b4)[-5,64,0] ¦ count(b5)[-5,64,0] ¦ count(c)[-5,64,0] ¦ count(d)[-5,64,0] ¦ count(f)[-5,64,0] ¦ count(g)[-5,64,0] ¦ count(ts)[-5,64,0] ¦ count(dt)[-5,64,0] ¦ count(dd)[-5,64,0] ¦ count(u)[-5,64,0] ¦ count(j)[-5,64,0] ¦ count(bin)[-5,64,0] ¦ avg(a)[8,54,0] ¦ avg(b2)[8,54,0] ¦ avg(b3)[8,54,0] ¦ avg(b4)[8,54,0] ¦ avg(b5)[8,54,0] ¦ avg(d)[3,38,8] ¦ avg(f)[8,54,0] ¦ avg(g)[8,54,0] ¦ max(a)[4,32,0] ¦ max(b)[-7,1,0] ¦ max(b2)[-6,8,0] ¦ max(b3)[5,16,0] ¦ max(b4)[4,32,0] ¦ max(b5)[-5,64,0] ¦ max(c)[12,-1,0] ¦ max(d)[3,10,2] ¦ max(f)[8,54,0] ¦ max(g)[7,24,0] ¦ max(ts)[93,64,0] ¦ max(dt)[93,64,0] ¦ max(dd)[91,64,0] ¦ max(u)[12,-1,0] ¦ max(bin)[12,196605,0] 𝄀 +2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 1800000 ¦ 1800000 ¦ 1800000 ¦ 1800000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 2000000 ¦ 500000.5 ¦ 4.5 ¦ 49.5 ¦ 499.5 ¦ 500000.5 ¦ 500000.00000000 ¦ 500000.0 ¦ 500000.0 ¦ 1000000 ¦ 1 ¦ 9 ¦ 99 ¦ 999 ¦ 1000000 ¦ foobar9zoo ¦ 999999.00 ¦ 999999.0 ¦ 999999.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999999 select count(*), count(distinct a), count(distinct b), count(distinct b2), count(distinct b3), count(distinct b4), count(distinct b5), count(distinct c), count(distinct d), count(distinct f), count(distinct g), @@ -55,8 +55,8 @@ max(distinct ts), max(distinct dt), max(distinct dd), max(distinct u), max(distinct bin) from t where a < 1000; -count(*) count(distinct a) count(distinct b) count(distinct b2) count(distinct b3) count(distinct b4) count(distinct b5) count(distinct c) count(distinct d) count(distinct f) count(distinct g) count(distinct ts) count(distinct dt) count(distinct dd) count(distinct u) count(distinct j) count(distinct bin) avg(distinct a) avg(distinct b2) avg(distinct b3) avg(distinct b4) avg(distinct b5) avg(distinct d) avg(distinct f) avg(distinct g) max(distinct a) max(distinct b) max(distinct b2) max(distinct b3) max(distinct b4) max(distinct b5) max(distinct c) max(distinct d) max(distinct f) max(distinct g) max(distinct ts) max(distinct dt) max(distinct dd) max(distinct u) max(distinct bin) -1998 999 2 10 100 999 999 900 900 900 900 1 1 1 1 999 999 500.0 4.5 49.5 500.0 500.0 500.00000000 500.0 500.0 999 1 9 99 999 999 foobar9zoo 999.00 999.0 999.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999 +➤ count(*)[-5,64,0] ¦ count(distinct a)[-5,64,0] ¦ count(distinct b)[-5,64,0] ¦ count(distinct b2)[-5,64,0] ¦ count(distinct b3)[-5,64,0] ¦ count(distinct b4)[-5,64,0] ¦ count(distinct b5)[-5,64,0] ¦ count(distinct c)[-5,64,0] ¦ count(distinct d)[-5,64,0] ¦ count(distinct f)[-5,64,0] ¦ count(distinct g)[-5,64,0] ¦ count(distinct ts)[-5,64,0] ¦ count(distinct dt)[-5,64,0] ¦ count(distinct dd)[-5,64,0] ¦ count(distinct u)[-5,64,0] ¦ count(distinct j)[-5,64,0] ¦ count(distinct bin)[-5,64,0] ¦ avg(distinct a)[8,54,0] ¦ avg(distinct b2)[8,54,0] ¦ avg(distinct b3)[8,54,0] ¦ avg(distinct b4)[8,54,0] ¦ avg(distinct b5)[8,54,0] ¦ avg(distinct d)[3,38,8] ¦ avg(distinct f)[8,54,0] ¦ avg(distinct g)[8,54,0] ¦ max(distinct a)[4,32,0] ¦ max(distinct b)[-7,1,0] ¦ max(distinct b2)[-6,8,0] ¦ max(distinct b3)[5,16,0] ¦ max(distinct b4)[4,32,0] ¦ max(distinct b5)[-5,64,0] ¦ max(distinct c)[12,-1,0] ¦ max(distinct d)[3,10,2] ¦ max(distinct f)[8,54,0] ¦ max(distinct g)[7,24,0] ¦ max(distinct ts)[93,64,0] ¦ max(distinct dt)[93,64,0] ¦ max(distinct dd)[91,64,0] ¦ max(distinct u)[12,-1,0] ¦ max(distinct bin)[12,196605,0] 𝄀 +1998 ¦ 999 ¦ 2 ¦ 10 ¦ 100 ¦ 999 ¦ 999 ¦ 900 ¦ 900 ¦ 900 ¦ 900 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 999 ¦ 999 ¦ 500.0 ¦ 4.5 ¦ 49.5 ¦ 500.0 ¦ 500.0 ¦ 500.00000000 ¦ 500.0 ¦ 500.0 ¦ 999 ¦ 1 ¦ 9 ¦ 99 ¦ 999 ¦ 999 ¦ foobar9zoo ¦ 999.00 ¦ 999.0 ¦ 999.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999 select count(*), count(a), count(b), count(b2), count(b3), count(b4), count(b5), count(c), count(d), count(f), count(g), @@ -73,17 +73,17 @@ from t group by b2 order by b2 ; -count(*) count(a) count(b) count(b2) count(b3) count(b4) count(b5) count(c) count(d) count(f) count(g) count(ts) count(dt) count(dd) count(u) count(j) count(bin) avg(a) avg(b2) avg(b3) avg(b4) avg(b5) avg(d) avg(f) avg(g) max(a) max(b) max(b2) max(b3) max(b4) max(b5) max(c) max(d) max(f) max(g) max(ts) max(dt) max(dd) max(u) max(bin) -200000 200000 200000 200000 200000 200000 200000 0 0 0 0 200000 200000 200000 200000 200000 200000 500005.0 0.0 45.0 495.0 500005.0 null null null 1000000 1 0 90 990 1000000 null null null null 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999990 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 499996.0 1.0 46.0 496.0 499996.0 499996.00000000 499996.0 499996.0 999991 0 1 91 991 999991 foobar999991zoo 999991.00 999991.0 999991.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999991 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 499997.0 2.0 47.0 497.0 499997.0 499997.00000000 499997.0 499997.0 999992 1 2 92 992 999992 foobar999992zoo 999992.00 999992.0 999992.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999992 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 499998.0 3.0 48.0 498.0 499998.0 499998.00000000 499998.0 499998.0 999993 0 3 93 993 999993 foobar999993zoo 999993.00 999993.0 999993.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999993 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 499999.0 4.0 49.0 499.0 499999.0 499999.00000000 499999.0 499999.0 999994 1 4 94 994 999994 foobar999994zoo 999994.00 999994.0 999994.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999994 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 500000.0 5.0 50.0 500.0 500000.0 500000.00000000 500000.0 500000.0 999995 0 5 95 995 999995 foobar999995zoo 999995.00 999995.0 999995.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999995 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 500001.0 6.0 51.0 501.0 500001.0 500001.00000000 500001.0 500001.0 999996 1 6 96 996 999996 foobar999996zoo 999996.00 999996.0 999996.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999996 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 500002.0 7.0 52.0 502.0 500002.0 500002.00000000 500002.0 500002.0 999997 0 7 97 997 999997 foobar999997zoo 999997.00 999997.0 999997.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999997 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 500003.0 8.0 53.0 503.0 500003.0 500003.00000000 500003.0 500003.0 999998 1 8 98 998 999998 foobar999998zoo 999998.00 999998.0 999998.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999998 -200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 500004.0 9.0 54.0 504.0 500004.0 500004.00000000 500004.0 500004.0 999999 0 9 99 999 999999 foobar9zoo 999999.00 999999.0 999999.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999999 +➤ count(*)[-5,64,0] ¦ count(a)[-5,64,0] ¦ count(b)[-5,64,0] ¦ count(b2)[-5,64,0] ¦ count(b3)[-5,64,0] ¦ count(b4)[-5,64,0] ¦ count(b5)[-5,64,0] ¦ count(c)[-5,64,0] ¦ count(d)[-5,64,0] ¦ count(f)[-5,64,0] ¦ count(g)[-5,64,0] ¦ count(ts)[-5,64,0] ¦ count(dt)[-5,64,0] ¦ count(dd)[-5,64,0] ¦ count(u)[-5,64,0] ¦ count(j)[-5,64,0] ¦ count(bin)[-5,64,0] ¦ avg(a)[8,54,0] ¦ avg(b2)[8,54,0] ¦ avg(b3)[8,54,0] ¦ avg(b4)[8,54,0] ¦ avg(b5)[8,54,0] ¦ avg(d)[3,38,8] ¦ avg(f)[8,54,0] ¦ avg(g)[8,54,0] ¦ max(a)[4,32,0] ¦ max(b)[-7,1,0] ¦ max(b2)[-6,8,0] ¦ max(b3)[5,16,0] ¦ max(b4)[4,32,0] ¦ max(b5)[-5,64,0] ¦ max(c)[12,-1,0] ¦ max(d)[3,10,2] ¦ max(f)[8,54,0] ¦ max(g)[7,24,0] ¦ max(ts)[93,64,0] ¦ max(dt)[93,64,0] ¦ max(dd)[91,64,0] ¦ max(u)[12,-1,0] ¦ max(bin)[12,196605,0] 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 0 ¦ 0 ¦ 0 ¦ 0 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 500005.0 ¦ 0.0 ¦ 45.0 ¦ 495.0 ¦ 500005.0 ¦ null ¦ null ¦ null ¦ 1000000 ¦ 1 ¦ 0 ¦ 90 ¦ 990 ¦ 1000000 ¦ null ¦ null ¦ null ¦ null ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999990 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 499996.0 ¦ 1.0 ¦ 46.0 ¦ 496.0 ¦ 499996.0 ¦ 499996.00000000 ¦ 499996.0 ¦ 499996.0 ¦ 999991 ¦ 0 ¦ 1 ¦ 91 ¦ 991 ¦ 999991 ¦ foobar999991zoo ¦ 999991.00 ¦ 999991.0 ¦ 999991.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999991 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 499997.0 ¦ 2.0 ¦ 47.0 ¦ 497.0 ¦ 499997.0 ¦ 499997.00000000 ¦ 499997.0 ¦ 499997.0 ¦ 999992 ¦ 1 ¦ 2 ¦ 92 ¦ 992 ¦ 999992 ¦ foobar999992zoo ¦ 999992.00 ¦ 999992.0 ¦ 999992.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999992 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 499998.0 ¦ 3.0 ¦ 48.0 ¦ 498.0 ¦ 499998.0 ¦ 499998.00000000 ¦ 499998.0 ¦ 499998.0 ¦ 999993 ¦ 0 ¦ 3 ¦ 93 ¦ 993 ¦ 999993 ¦ foobar999993zoo ¦ 999993.00 ¦ 999993.0 ¦ 999993.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999993 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 499999.0 ¦ 4.0 ¦ 49.0 ¦ 499.0 ¦ 499999.0 ¦ 499999.00000000 ¦ 499999.0 ¦ 499999.0 ¦ 999994 ¦ 1 ¦ 4 ¦ 94 ¦ 994 ¦ 999994 ¦ foobar999994zoo ¦ 999994.00 ¦ 999994.0 ¦ 999994.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999994 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 500000.0 ¦ 5.0 ¦ 50.0 ¦ 500.0 ¦ 500000.0 ¦ 500000.00000000 ¦ 500000.0 ¦ 500000.0 ¦ 999995 ¦ 0 ¦ 5 ¦ 95 ¦ 995 ¦ 999995 ¦ foobar999995zoo ¦ 999995.00 ¦ 999995.0 ¦ 999995.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999995 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 500001.0 ¦ 6.0 ¦ 51.0 ¦ 501.0 ¦ 500001.0 ¦ 500001.00000000 ¦ 500001.0 ¦ 500001.0 ¦ 999996 ¦ 1 ¦ 6 ¦ 96 ¦ 996 ¦ 999996 ¦ foobar999996zoo ¦ 999996.00 ¦ 999996.0 ¦ 999996.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999996 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 500002.0 ¦ 7.0 ¦ 52.0 ¦ 502.0 ¦ 500002.0 ¦ 500002.00000000 ¦ 500002.0 ¦ 500002.0 ¦ 999997 ¦ 0 ¦ 7 ¦ 97 ¦ 997 ¦ 999997 ¦ foobar999997zoo ¦ 999997.00 ¦ 999997.0 ¦ 999997.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999997 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 500003.0 ¦ 8.0 ¦ 53.0 ¦ 503.0 ¦ 500003.0 ¦ 500003.00000000 ¦ 500003.0 ¦ 500003.0 ¦ 999998 ¦ 1 ¦ 8 ¦ 98 ¦ 998 ¦ 999998 ¦ foobar999998zoo ¦ 999998.00 ¦ 999998.0 ¦ 999998.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999998 𝄀 +200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 200000 ¦ 500004.0 ¦ 9.0 ¦ 54.0 ¦ 504.0 ¦ 500004.0 ¦ 500004.00000000 ¦ 500004.0 ¦ 500004.0 ¦ 999999 ¦ 0 ¦ 9 ¦ 99 ¦ 999 ¦ 999999 ¦ foobar9zoo ¦ 999999.00 ¦ 999999.0 ¦ 999999.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999999 select count(*), count(distinct a), count(distinct b), count(distinct b2), count(distinct b3), count(distinct b4), count(distinct b5), count(distinct c), count(distinct d), count(distinct f), count(distinct g), @@ -101,67 +101,92 @@ where a < 1000 group by b2 order by b2 ; -count(*) count(distinct a) count(distinct b) count(distinct b2) count(distinct b3) count(distinct b4) count(distinct b5) count(distinct c) count(distinct d) count(distinct f) count(distinct g) count(distinct ts) count(distinct dt) count(distinct dd) count(distinct u) count(distinct j) count(distinct bin) avg(distinct a) avg(distinct b2) avg(distinct b3) avg(distinct b4) avg(distinct b5) avg(distinct d) avg(distinct f) avg(distinct g) max(distinct a) max(distinct b) max(distinct b2) max(distinct b3) max(distinct b4) max(distinct b5) max(distinct c) max(distinct d) max(distinct f) max(distinct g) max(distinct ts) max(distinct dt) max(distinct dd) max(distinct u) max(distinct bin) -198 99 1 1 10 99 99 0 0 0 0 1 1 1 1 99 99 500.0 0.0 45.0 500.0 500.0 null null null 990 1 0 90 990 990 null null null null 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 990 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 496.0 1.0 46.0 496.0 496.0 496.00000000 496.0 496.0 991 0 1 91 991 991 foobar991zoo 991.00 991.0 991.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 991 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 497.0 2.0 47.0 497.0 497.0 497.00000000 497.0 497.0 992 1 2 92 992 992 foobar992zoo 992.00 992.0 992.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 992 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 498.0 3.0 48.0 498.0 498.0 498.00000000 498.0 498.0 993 0 3 93 993 993 foobar993zoo 993.00 993.0 993.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 993 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 499.0 4.0 49.0 499.0 499.0 499.00000000 499.0 499.0 994 1 4 94 994 994 foobar994zoo 994.00 994.0 994.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 994 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 500.0 5.0 50.0 500.0 500.0 500.00000000 500.0 500.0 995 0 5 95 995 995 foobar995zoo 995.00 995.0 995.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 995 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 501.0 6.0 51.0 501.0 501.0 501.00000000 501.0 501.0 996 1 6 96 996 996 foobar996zoo 996.00 996.0 996.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 996 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 502.0 7.0 52.0 502.0 502.0 502.00000000 502.0 502.0 997 0 7 97 997 997 foobar997zoo 997.00 997.0 997.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 997 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 503.0 8.0 53.0 503.0 503.0 503.00000000 503.0 503.0 998 1 8 98 998 998 foobar998zoo 998.00 998.0 998.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 998 -200 100 1 1 10 100 100 100 100 100 100 1 1 1 1 100 100 504.0 9.0 54.0 504.0 504.0 504.00000000 504.0 504.0 999 0 9 99 999 999 foobar9zoo 999.00 999.0 999.0 2021-02-01 11:11:11 2021-02-01 11:11:11 2021-02-01 11111111-1111-1111-1111-111111111111 999 +➤ count(*)[-5,64,0] ¦ count(distinct a)[-5,64,0] ¦ count(distinct b)[-5,64,0] ¦ count(distinct b2)[-5,64,0] ¦ count(distinct b3)[-5,64,0] ¦ count(distinct b4)[-5,64,0] ¦ count(distinct b5)[-5,64,0] ¦ count(distinct c)[-5,64,0] ¦ count(distinct d)[-5,64,0] ¦ count(distinct f)[-5,64,0] ¦ count(distinct g)[-5,64,0] ¦ count(distinct ts)[-5,64,0] ¦ count(distinct dt)[-5,64,0] ¦ count(distinct dd)[-5,64,0] ¦ count(distinct u)[-5,64,0] ¦ count(distinct j)[-5,64,0] ¦ count(distinct bin)[-5,64,0] ¦ avg(distinct a)[8,54,0] ¦ avg(distinct b2)[8,54,0] ¦ avg(distinct b3)[8,54,0] ¦ avg(distinct b4)[8,54,0] ¦ avg(distinct b5)[8,54,0] ¦ avg(distinct d)[3,38,8] ¦ avg(distinct f)[8,54,0] ¦ avg(distinct g)[8,54,0] ¦ max(distinct a)[4,32,0] ¦ max(distinct b)[-7,1,0] ¦ max(distinct b2)[-6,8,0] ¦ max(distinct b3)[5,16,0] ¦ max(distinct b4)[4,32,0] ¦ max(distinct b5)[-5,64,0] ¦ max(distinct c)[12,-1,0] ¦ max(distinct d)[3,10,2] ¦ max(distinct f)[8,54,0] ¦ max(distinct g)[7,24,0] ¦ max(distinct ts)[93,64,0] ¦ max(distinct dt)[93,64,0] ¦ max(distinct dd)[91,64,0] ¦ max(distinct u)[12,-1,0] ¦ max(distinct bin)[12,196605,0] 𝄀 +198 ¦ 99 ¦ 1 ¦ 1 ¦ 10 ¦ 99 ¦ 99 ¦ 0 ¦ 0 ¦ 0 ¦ 0 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 99 ¦ 99 ¦ 500.0 ¦ 0.0 ¦ 45.0 ¦ 500.0 ¦ 500.0 ¦ null ¦ null ¦ null ¦ 990 ¦ 1 ¦ 0 ¦ 90 ¦ 990 ¦ 990 ¦ null ¦ null ¦ null ¦ null ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 990 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 496.0 ¦ 1.0 ¦ 46.0 ¦ 496.0 ¦ 496.0 ¦ 496.00000000 ¦ 496.0 ¦ 496.0 ¦ 991 ¦ 0 ¦ 1 ¦ 91 ¦ 991 ¦ 991 ¦ foobar991zoo ¦ 991.00 ¦ 991.0 ¦ 991.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 991 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 497.0 ¦ 2.0 ¦ 47.0 ¦ 497.0 ¦ 497.0 ¦ 497.00000000 ¦ 497.0 ¦ 497.0 ¦ 992 ¦ 1 ¦ 2 ¦ 92 ¦ 992 ¦ 992 ¦ foobar992zoo ¦ 992.00 ¦ 992.0 ¦ 992.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 992 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 498.0 ¦ 3.0 ¦ 48.0 ¦ 498.0 ¦ 498.0 ¦ 498.00000000 ¦ 498.0 ¦ 498.0 ¦ 993 ¦ 0 ¦ 3 ¦ 93 ¦ 993 ¦ 993 ¦ foobar993zoo ¦ 993.00 ¦ 993.0 ¦ 993.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 993 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 499.0 ¦ 4.0 ¦ 49.0 ¦ 499.0 ¦ 499.0 ¦ 499.00000000 ¦ 499.0 ¦ 499.0 ¦ 994 ¦ 1 ¦ 4 ¦ 94 ¦ 994 ¦ 994 ¦ foobar994zoo ¦ 994.00 ¦ 994.0 ¦ 994.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 994 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 500.0 ¦ 5.0 ¦ 50.0 ¦ 500.0 ¦ 500.0 ¦ 500.00000000 ¦ 500.0 ¦ 500.0 ¦ 995 ¦ 0 ¦ 5 ¦ 95 ¦ 995 ¦ 995 ¦ foobar995zoo ¦ 995.00 ¦ 995.0 ¦ 995.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 995 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 501.0 ¦ 6.0 ¦ 51.0 ¦ 501.0 ¦ 501.0 ¦ 501.00000000 ¦ 501.0 ¦ 501.0 ¦ 996 ¦ 1 ¦ 6 ¦ 96 ¦ 996 ¦ 996 ¦ foobar996zoo ¦ 996.00 ¦ 996.0 ¦ 996.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 996 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 502.0 ¦ 7.0 ¦ 52.0 ¦ 502.0 ¦ 502.0 ¦ 502.00000000 ¦ 502.0 ¦ 502.0 ¦ 997 ¦ 0 ¦ 7 ¦ 97 ¦ 997 ¦ 997 ¦ foobar997zoo ¦ 997.00 ¦ 997.0 ¦ 997.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 997 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 503.0 ¦ 8.0 ¦ 53.0 ¦ 503.0 ¦ 503.0 ¦ 503.00000000 ¦ 503.0 ¦ 503.0 ¦ 998 ¦ 1 ¦ 8 ¦ 98 ¦ 998 ¦ 998 ¦ foobar998zoo ¦ 998.00 ¦ 998.0 ¦ 998.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 998 𝄀 +200 ¦ 100 ¦ 1 ¦ 1 ¦ 10 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 100 ¦ 1 ¦ 1 ¦ 1 ¦ 1 ¦ 100 ¦ 100 ¦ 504.0 ¦ 9.0 ¦ 54.0 ¦ 504.0 ¦ 504.0 ¦ 504.00000000 ¦ 504.0 ¦ 504.0 ¦ 999 ¦ 0 ¦ 9 ¦ 99 ¦ 999 ¦ 999 ¦ foobar9zoo ¦ 999.00 ¦ 999.0 ¦ 999.0 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 11:11:11 ¦ 2021-02-01 ¦ 11111111-1111-1111-1111-111111111111 ¦ 999 select count(a), sum(d), sum(f) from ( select count(*), a, sum(d) as d, sum(f) as f from t group by a ) tmp; -count(a) sum(d) sum(f) -1000000 900000000000.00 9.0E11 +➤ count(a)[-5,64,0] ¦ sum(d)[3,38,2] ¦ sum(f)[8,54,0] 𝄀 +1000000 ¦ 900000000000.00 ¦ 9.0E11 select count(a), sum(d), sum(f) from ( select count(*), a, sum(d) as d, sum(f) as f from t group by a having a % 100 > 95 ) tmp; -count(a) sum(d) sum(f) -40000 40003800000.00 4.00038E10 +➤ count(a)[-5,64,0] ¦ sum(d)[3,38,2] ¦ sum(f)[8,54,0] 𝄀 +40000 ¦ 40003800000.00 ¦ 4.00038E10 select count(*) from (select a, b, c from t group by a, b, c) tmpt; -count(*) +➤ count(*)[-5,64,0] 𝄀 1000000 select sum(a), max(c), avg(d), avg(f) from (select a, c, avg(d) as d, avg(f) as f from t group by a, c) tmpt; -sum(a) max(c) avg(d) avg(f) -500000500000 foobar9zoo 500000.000000000000 500000.0 +➤ sum(a)[-5,64,0] ¦ max(c)[12,-1,0] ¦ avg(d)[3,38,12] ¦ avg(f)[8,54,0] 𝄀 +500000500000 ¦ foobar9zoo ¦ 500000.000000000000 ¦ 500000.0 select count(a), sum(d), sum(f) from ( select count(*), a, sum(distinct d) d, sum(distinct f) f from t where a < 10000 group by a ) tmpt; -count(a) sum(d) sum(f) -9999 45000000.00 4.5E7 +➤ count(a)[-5,64,0] ¦ sum(d)[3,38,2] ¦ sum(f)[8,54,0] 𝄀 +9999 ¦ 45000000.00 ¦ 4.5E7 select 'set max_dop to 1 ... '; -set max_dop to 1 ... +➤ set max_dop to 1 ... [12,-1,0] 𝄀 set max_dop to 1 ... set @@max_dop = 1; select 'set agg_spill_mem to 50MB ... '; -set agg_spill_mem to 50MB ... +➤ set agg_spill_mem to 50MB ... [12,-1,0] 𝄀 set agg_spill_mem to 50MB ... set @@agg_spill_mem = 60000000; select count(*) from (select a, b, c from t group by a, b, c) tmptt; -count(*) +➤ count(*)[-5,64,0] 𝄀 1000000 select sum(a), max(c), avg(d), avg(f) from (select a, c, avg(d) as d, avg(f) as f from t group by a, c) tmptt; -sum(a) max(c) avg(d) avg(f) -500000500000 foobar9zoo 500000.000000000000 500000.0 +➤ sum(a)[-5,64,0] ¦ max(c)[12,-1,0] ¦ avg(d)[3,38,12] ¦ avg(f)[8,54,0] 𝄀 +500000500000 ¦ foobar9zoo ¦ 500000.000000000000 ¦ 500000.0 select count(a), sum(d), sum(f) from ( select count(*), a, sum(d) as d, sum(f) as f from t group by a ) tmptt; -count(a) sum(d) sum(f) -1000000 900000000000.00 9.0E11 +➤ count(a)[-5,64,0] ¦ sum(d)[3,38,2] ¦ sum(f)[8,54,0] 𝄀 +1000000 ¦ 900000000000.00 ¦ 9.0E11 select count(a), sum(d), sum(f) from ( select count(*), a, sum(distinct d) d, sum(distinct f) f from t where a < 10000 group by a ) tmptt; -count(a) sum(d) sum(f) -9999 45000000.00 4.5E7 +➤ count(a)[-5,64,0] ¦ sum(d)[3,38,2] ¦ sum(f)[8,54,0] 𝄀 +9999 ¦ 45000000.00 ¦ 4.5E7 explain analyze select a, b, c from t group by a, b, c; - +➤ ap query plan on one cn(8 core)[12,-1,0] 𝄀 +Project 𝄀 + Analyze: timeConsumed=0ms waitTime=0ms inputRows=1000000 outputRows=1000000 (min=1000000, max=1000000) InputSize=27.66 MiB OutputSize=27.66 MiB ReadSize=0 bytes|0 bytes|0 bytes MemorySize=232.00 KiB (min=232.00 KiB, max=232.00 KiB) 𝄀 + -> Aggregate 𝄀 + Analyze: timeConsumed=2705ms waitTime=0ms inputRows=0 outputRows=1000000 (min=1000000, max=1000000) InputSize=0 bytes OutputSize=27.66 MiB ReadSize=0 bytes|0 bytes|0 bytes MemorySize=78.73 MiB (min=78.73 MiB, max=78.73 MiB) SpillSize=236.18 MiB (min=236.18 MiB, max=236.18 MiB) 𝄀 + Group Key: t.a, t.b, t.c shuffle: range(t.a) 𝄀 + -> Table Scan on qetest.t 𝄀 + Analyze: timeConsumed=26ms waitTime=0ms inputBlocks=256 inputRows=2000000 outputRows=2000000 (min=2000000, max=2000000) InputSize=55.31 MiB OutputSize=55.31 MiB ReadSize=16.52 MiB|0 bytes|0 bytes MemorySize=464.00 KiB (min=464.00 KiB, max=464.00 KiB) explain analyze select a, c, avg(d) d, avg(f) f from t group by a, c; - +➤ ap query plan on one cn(8 core)[12,-1,0] 𝄀 +Project 𝄀 + Analyze: timeConsumed=0ms waitTime=0ms inputRows=1000000 outputRows=1000000 (min=1000000, max=1000000) InputSize=49.59 MiB OutputSize=49.59 MiB ReadSize=0 bytes|0 bytes|0 bytes MemorySize=416.00 KiB (min=416.00 KiB, max=416.00 KiB) 𝄀 + -> Aggregate 𝄀 + Analyze: timeConsumed=7203ms waitTime=0ms inputRows=0 outputRows=1000000 (min=1000000, max=1000000) InputSize=0 bytes OutputSize=49.59 MiB ReadSize=0 bytes|0 bytes|0 bytes MemorySize=78.22 MiB (min=78.22 MiB, max=78.22 MiB) SpillSize=234.66 MiB (min=234.66 MiB, max=234.66 MiB) 𝄀 + Group Key: t.a, t.c shuffle: range(t.a) 𝄀 + Aggregate Functions: avg(t.d), avg(t.f) 𝄀 + -> Table Scan on qetest.t 𝄀 + Analyze: timeConsumed=152ms waitTime=0ms inputBlocks=256 inputRows=2000000 outputRows=2000000 (min=2000000, max=2000000) InputSize=83.92 MiB OutputSize=83.92 MiB ReadSize=32.19 MiB|0 bytes|0 bytes MemorySize=704.00 KiB (min=704.00 KiB, max=704.00 KiB) explain analyze select count(*), a, sum(distinct d) d, sum(distinct f) f from t where a < 10000 group by a; - +➤ tp query plan[12,-1,0] 𝄀 +Project 𝄀 + Analyze: timeConsumed=0ms waitTime=0ms inputRows=9999 outputRows=9999 (min=9999, max=9999) InputSize=351.53 KiB OutputSize=351.53 KiB ReadSize=0 bytes|0 bytes|0 bytes MemorySize=288.00 KiB (min=288.00 KiB, max=288.00 KiB) 𝄀 + -> Aggregate 𝄀 + Analyze: timeConsumed=42ms waitTime=0ms inputRows=19998 outputRows=9999 (min=9999, max=9999) InputSize=390.59 KiB OutputSize=351.53 KiB ReadSize=0 bytes|0 bytes|0 bytes MemorySize=2.69 MiB (min=2.69 MiB, max=2.69 MiB) 𝄀 + Group Key: t.a 𝄀 + Aggregate Functions: starcount(1), sum(t.d), sum(t.f) 𝄀 + -> Table Scan on qetest.t 𝄀 + Analyze: timeConsumed=4ms waitTime=0ms inputBlocks=4 inputRows=32768 outputRows=19998 (min=19998, max=19998) InputSize=640.00 KiB OutputSize=390.59 KiB ReadSize=394.71 KiB|0 bytes|0 bytes MemorySize=352.00 KiB (min=160.00 KiB, max=160.00 KiB) 𝄀 + Filter Cond: (t.a < 10000) 𝄀 + Block Filter Cond: (t.a < 10000) drop database qetest; diff --git a/test/distributed/cases/query_result/query_result.result b/test/distributed/cases/query_result/query_result.result index 51a94e5ae7229..5466c7e61d98e 100644 --- a/test/distributed/cases/query_result/query_result.result +++ b/test/distributed/cases/query_result/query_result.result @@ -41,7 +41,7 @@ a 1 2 select * from result_scan(last_query_id()) as u; - +no configure: save query result set save_query_result = on; drop table if exists t2; create table t2 (a int, b int, c int); @@ -159,7 +159,7 @@ system system_metrics test select * from result_scan(last_query_id()) as u; -Database +database information_schema mo_catalog mysql @@ -189,17 +189,17 @@ count(*) Tables_in_test tt select * from result_scan(last_query_id()) as u; -Tables_in_test +tables_in_test tt /* save_result */show variables like 'tx_isolation'; - +[unknown result because it is related to issue#17598] select * from result_scan(last_query_id()) as u; - +[unknown result because it is related to issue#17598] /* save_result */show columns from tt; Field Type Null Key Default Extra Comment a INT(32) YES null select * from result_scan(last_query_id()) as u; -Field Type Null Key Default Extra Comment +field type null key default extra comment a INT(32) YES null /* save_result */show grants; Grants for admin@localhost @@ -235,7 +235,7 @@ GRANT table ownership ON table *.* `admin`@`localhost` GRANT values ON table *.* `admin`@`localhost` GRANT connect ON account `admin`@`localhost` select * from result_scan(last_query_id()) as u; -Grants for admin@localhost +grants for admin@localhost GRANT create user ON account `admin`@`localhost` GRANT drop user ON account `admin`@`localhost` GRANT alter user ON account `admin`@`localhost` @@ -281,15 +281,15 @@ select * from result_scan(last_query_id()) as u; table non_unique key_name seq_in_index column_name collation cardinality sub_part packed null index_type comment index_comment index_params visible expression tt 0 id 1 a A 0 NULL NULL YES YES a /* save_result */show node list; - +[unknown result because it is related to issue#17598] select * from result_scan(last_query_id()) as u; - +[unknown result because it is related to issue#17598] create sequence seq_an_03 increment 10 start with 1 no cycle; /* save_result */show sequences; Names Data Type seq_an_03 BIGINT select * from result_scan(last_query_id()) as u; -Names Data Type +names data type seq_an_03 BIGINT CREATE TABLE t1 (S1 INT); CREATE TABLE t2 (S1 INT); @@ -302,7 +302,7 @@ select * from result_scan(last_query_id()) as u; s1_0 s1_1 4 4 /* save_result */select t2.S1 from t2 left join t1 on t1.S1 =t2.S1; -s1 +S1 2 4 5 @@ -312,7 +312,7 @@ s1 4 5 /* save_result */select t2.S1 from t2 right join t1 on t1.S1 =t2.S1; -s1 +S1 null null 4 @@ -524,14 +524,14 @@ s1 s1 select * from result_scan(last_query_id()) as u; no configure: save query result /* save_result */select t2.S1 from t2 left join t1 on t1.S1 =t2.S1; -s1 +S1 2 4 5 select * from result_scan(last_query_id()) as u; no configure: save query result /* save_result */select t2.S1 from t2 right join t1 on t1.S1 =t2.S1; -s1 +S1 null null 4 diff --git a/test/distributed/cases/query_result/query_result.sql b/test/distributed/cases/query_result/query_result.sql index 2a3ea155cb86b..03d237626d8e1 100644 --- a/test/distributed/cases/query_result/query_result.sql +++ b/test/distributed/cases/query_result/query_result.sql @@ -18,9 +18,7 @@ execute st using @var; set save_query_result = off; select * from tt; --- @bvt:issue#9886 select * from result_scan(last_query_id()) as u; --- @bvt:issue set save_query_result = on; drop table if exists t2; create table t2 (a int, b int, c int); diff --git a/test/distributed/cases/sequence/create_sequence.result b/test/distributed/cases/sequence/create_sequence.result index 9285e2376d6e9..3dd19e31ba8fe 100644 --- a/test/distributed/cases/sequence/create_sequence.result +++ b/test/distributed/cases/sequence/create_sequence.result @@ -79,7 +79,7 @@ select nextval('seq_03'); ➤ nextval(seq_03)[12,-1,0] 𝄀 10 select * from seq_03; -➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[12,4,0] ¦ is_called[12,4,0] 𝄀 +➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[-7,1,0] ¦ is_called[-7,1,0] 𝄀 10 ¦ 1 ¦ 9223372036854775807 ¦ 1 ¦ 3 ¦ 0 ¦ 1 create sequence seq_04 increment by -10; select nextval('seq_04'); @@ -126,7 +126,7 @@ select nextval('seq_06'); ➤ nextval(seq_06)[12,-1,0] 𝄀 10004 select * from seq_06; -➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[12,4,0] ¦ is_called[12,4,0] 𝄀 +➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[-7,1,0] ¦ is_called[-7,1,0] 𝄀 10004 ¦ 1 ¦ 9223372036854775807 ¦ 10000 ¦ 1 ¦ 0 ¦ 1 truncate table seq_table_01; insert into seq_table_01 values(nextval('seq_06')),(nextval('seq_06')); @@ -199,7 +199,7 @@ select nextval('seq_09'); ➤ nextval(seq_09)[12,-1,0] 𝄀 12 select * from seq_09; -➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[12,4,0] ¦ is_called[12,4,0] 𝄀 +➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[-7,1,0] ¦ is_called[-7,1,0] 𝄀 12 ¦ 10 ¦ 12 ¦ 10 ¦ 2 ¦ 1 ¦ 1 create sequence seq_10 minvalue 1000; select nextval('seq_10'); @@ -244,7 +244,7 @@ select nextval('seq_12'); ➤ nextval(seq_12)[12,-1,0] 𝄀 30500 select * from seq_12; -➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[12,4,0] ¦ is_called[12,4,0] 𝄀 +➤ last_seq_num[-5,64,0] ¦ min_value[-5,64,0] ¦ max_value[-5,64,0] ¦ start_value[-5,64,0] ¦ increment_value[-5,64,0] ¦ cycle[-7,1,0] ¦ is_called[-7,1,0] 𝄀 30500 ¦ 500 ¦ 9223372036854775807 ¦ 500 ¦ 10000 ¦ 1 ¦ 1 truncate table seq_table_01; insert into seq_table_01 select nextval('seq_12'); @@ -386,49 +386,3 @@ select nextval('seq_17'),currval('seq_17'); select lastval(); ➤ lastval()[12,-1,0] 𝄀 28 -begin; -[unknown result because it is related to issue#8890] -create sequence seq_18 minvalue 1000; -[unknown result because it is related to issue#8890] -select nextval('seq_18'); -[unknown result because it is related to issue#8890] -select nextval('seq_18'); -[unknown result because it is related to issue#8890] -create sequence seq_18; -[unknown result because it is related to issue#8890] -select nextval('seq_18'); -[unknown result because it is related to issue#8890] -commit; -[unknown result because it is related to issue#8890] -select nextval('seq_18'),currval('seq_18'); -[unknown result because it is related to issue#8890] -drop sequence seq_18; -[unknown result because it is related to issue#8890] -begin; -[unknown result because it is related to issue#8890] -create sequence seq_19 minvalue 1000; -[unknown result because it is related to issue#8890] -select nextval('seq_19'); -[unknown result because it is related to issue#8890] -select nextval('seq_19'); -[unknown result because it is related to issue#8890] -create sequence seq_19; -[unknown result because it is related to issue#8890] -rollback; -[unknown result because it is related to issue#8890] -select nextval('seq_19'); -[unknown result because it is related to issue#8890] -drop sequence seq_19; -[unknown result because it is related to issue#8890] -start transaction ; -[unknown result because it is related to issue#8890] -create sequence seq_20 increment by -10; -[unknown result because it is related to issue#8890] -select nextval('seq_20'); -[unknown result because it is related to issue#8890] -rollback; -[unknown result because it is related to issue#8890] -select nextval('seq_20'); -[unknown result because it is related to issue#8890] -drop sequence seq_20; -[unknown result because it is related to issue#8890] diff --git a/test/distributed/cases/sequence/create_sequence.sql b/test/distributed/cases/sequence/create_sequence.sql index 3cf52f1033909..b77917da7019b 100644 --- a/test/distributed/cases/sequence/create_sequence.sql +++ b/test/distributed/cases/sequence/create_sequence.sql @@ -183,37 +183,4 @@ select nextval('seq_17'),currval('seq_17'); select setval('seq_17',8,false); select nextval('seq_17'),currval('seq_17'); select nextval('seq_17'),currval('seq_17'); -select lastval(); - ---transaction --- @bvt:issue#8890 -begin; -create sequence seq_18 minvalue 1000; -select nextval('seq_18'); --- @session:id=2 -select nextval('seq_18'); -create sequence seq_18; --- @session -select nextval('seq_18'); -commit; -select nextval('seq_18'),currval('seq_18'); -drop sequence seq_18; - -begin; -create sequence seq_19 minvalue 1000; -select nextval('seq_19'); --- @session:id=2 -select nextval('seq_19'); -create sequence seq_19; --- @session -rollback; -select nextval('seq_19'); -drop sequence seq_19; - -start transaction ; -create sequence seq_20 increment by -10; -select nextval('seq_20'); -rollback; -select nextval('seq_20'); -drop sequence seq_20; --- @bvt:issue \ No newline at end of file +select lastval(); \ No newline at end of file diff --git a/test/distributed/cases/tenant/privilege/owner.sql b/test/distributed/cases/tenant/privilege/owner.sql index 8fe8ea3c16d7b..97314267e4a97 100644 --- a/test/distributed/cases/tenant/privilege/owner.sql +++ b/test/distributed/cases/tenant/privilege/owner.sql @@ -11,10 +11,8 @@ create table db1.t1(a int); insert into db1.t1 values(1); select * from db1.t1; truncate table db1.t1; --- @bvt:issue#10126 insert into db1.t1 values(2); select * from db1.t1; --- @bvt:issue -- @session drop account default_1; diff --git a/test/distributed/cases/window/window.result b/test/distributed/cases/window/window.result index da4b824fadb0f..818c1bfb58dc2 100644 --- a/test/distributed/cases/window/window.result +++ b/test/distributed/cases/window/window.result @@ -1169,7 +1169,7 @@ null select avg(d) over (partition by d) from decimal01; invalid input: Decimal128 Add overflow: 99999999999999999999999999999999999833+99999999999999999999999999999999999833 select sum(d) over (partition by d order by d rows between 1 preceding and 1 following) from decimal01; -[unknown result because it is related to issue#10043] +invalid input: Decimal128 Add overflow: 99999999999999999999999999999999999833+99999999999999999999999999999999999833 drop table decimal01; drop table if exists date01; create table date01(id date); diff --git a/test/distributed/cases/window/window.sql b/test/distributed/cases/window/window.sql index d1f192ce40db8..86f55b63409f8 100644 --- a/test/distributed/cases/window/window.sql +++ b/test/distributed/cases/window/window.sql @@ -387,9 +387,7 @@ select * from decimal01; select max(d) over (partition by d order by d) from decimal01; select min(d) over (partition by d order by d) from decimal01; select avg(d) over (partition by d) from decimal01; --- @bvt:issue#10043 select sum(d) over (partition by d order by d rows between 1 preceding and 1 following) from decimal01; --- @bvt:issue drop table decimal01; -- partition by and order by follows date