Skip to content

Commit

Permalink
upate test
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 committed Dec 28, 2023
1 parent 56df76e commit 5d12e06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
20 changes: 4 additions & 16 deletions tests/integrationtest/r/executor/partition/issues.result
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,7 @@ set tidb_partition_prune_mode=default;
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY HASH (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (9223372036854775808), (9223372036854775809);
Expand All @@ -481,10 +478,7 @@ col_51
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY HASH (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (-9223372036854775808);
Expand All @@ -500,10 +494,7 @@ col_51
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY KEY (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (9223372036854775808), (9223372036854775809);
Expand All @@ -519,10 +510,7 @@ col_51
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY KEY (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (-9223372036854775808);
Expand Down
20 changes: 4 additions & 16 deletions tests/integrationtest/t/executor/partition/issues.test
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,7 @@ set tidb_partition_prune_mode=default;
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY HASH (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (9223372036854775808), (9223372036854775809);
Expand All @@ -275,10 +272,7 @@ SELECT * FROM `t` WHERE `t`.`col_51` BETWEEN 9223372036854775807 AND 92233720368
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY HASH (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (-9223372036854775808);
Expand All @@ -291,10 +285,7 @@ SELECT * FROM `t` WHERE `t`.`col_51` BETWEEN -9223372036854775808 AND 9223372036
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY KEY (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (9223372036854775808), (9223372036854775809);
Expand All @@ -306,10 +297,7 @@ SELECT * FROM `t` WHERE `t`.`col_51` BETWEEN 9223372036854775807 AND 92233720368
drop table if exists t;
CREATE TABLE `t` (
`col_51` bigint(20) NOT NULL,
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */,
UNIQUE KEY `idx_28` (`col_51`),
KEY `idx_29` (`col_51`),
KEY `idx_31` (`col_51`)
PRIMARY KEY (`col_51`) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
PARTITION BY KEY (`col_51`) PARTITIONS 5;
insert into t values (9223372036854775807), (-9223372036854775808);
Expand Down

0 comments on commit 5d12e06

Please sign in to comment.