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-4674 Fix ColumnStore to run MTR tests in a build directory
This commit is contained in:
@ -0,0 +1,43 @@
|
||||
SET NAMES utf8;
|
||||
#
|
||||
# MCOL-4539 WHERE short_char_column='literal' ignores the collation on a huge table
|
||||
#
|
||||
DROP DATABASE IF EXISTS mcs_ctype_cmp_char4_latin1_bin;
|
||||
CREATE DATABASE mcs_ctype_cmp_char4_latin1_bin;
|
||||
USE mcs_ctype_cmp_char4_latin1_bin;
|
||||
CREATE TABLE t1 (id INT, c CHAR(4) CHARACTER SET latin1 COLLATE latin1_bin);
|
||||
INSERT INTO t1 VALUES (0,'aaaa');
|
||||
INSERT INTO t1 VALUES (0,'bbbb');
|
||||
INSERT INTO t1 VALUES (0,'AAAA');
|
||||
INSERT INTO t1 VALUES (0,'BBBB');
|
||||
INSERT INTO t1 VALUES (0,'aaaa');
|
||||
INSERT INTO t1 VALUES (0,'bbbb');
|
||||
INSERT INTO t1 VALUES (0,'AAAA');
|
||||
INSERT INTO t1 VALUES (0,'BBBB');
|
||||
CREATE TABLE t2 (c CHAR(4) CHARACTER SET latin1 COLLATE latin1_bin);
|
||||
INSERT INTO t2 SELECT t1_5.c FROM
|
||||
t1 t1_0
|
||||
JOIN t1 t1_1 USING (id)
|
||||
JOIN t1 t1_2 USING (id)
|
||||
JOIN t1 t1_3 USING (id)
|
||||
JOIN t1 t1_4 USING (id)
|
||||
JOIN t1 t1_5 USING (id)
|
||||
;
|
||||
SELECT COUNT(*) FROM t2;
|
||||
COUNT(*)
|
||||
262144
|
||||
SELECT DISTINCT c FROM t2 WHERE c='aaaa';
|
||||
c
|
||||
aaaa
|
||||
SELECT DISTINCT c FROM t2 WHERE c='AAAA';
|
||||
c
|
||||
AAAA
|
||||
CREATE TABLE t3 LIKE t2;
|
||||
INSERT INTO t3 SELECT * FROM t2 WHERE c='aaaa';
|
||||
SELECT c, MIN(c), MAX(c), COUNT(*) FROM t3 GROUP BY c;
|
||||
c MIN(c) MAX(c) COUNT(*)
|
||||
aaaa aaaa aaaa 65536
|
||||
DROP TABLE t3;
|
||||
DROP TABLE t2;
|
||||
DROP TABLE t1;
|
||||
DROP DATABASE mcs_ctype_cmp_char4_latin1_bin;
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar32_latin1_bin.result
Normal file
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar32_latin1_bin.result
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar32_utf8_bin.result
Normal file
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar32_utf8_bin.result
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar4_latin1_bin.result
Normal file
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar4_latin1_bin.result
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar4_utf8_bin.result
Normal file
1585
mysql-test/columnstore/basic/r/ctype_cmp_varchar4_utf8_bin.result
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
124
mysql-test/columnstore/basic/r/func_bit.result
Normal file
124
mysql-test/columnstore/basic/r/func_bit.result
Normal file
@ -0,0 +1,124 @@
|
||||
DROP DATABASE IF EXISTS func_bit;
|
||||
CREATE DATABASE func_bit;
|
||||
USE func_bit;
|
||||
CREATE TABLE t1 (a DECIMAL(30,1) NOT NULL);
|
||||
INSERT INTO t1 VALUES (99999999999999999999999999999.9);
|
||||
INSERT INTO t1 VALUES (28446744073709551615);
|
||||
INSERT INTO t1 VALUES (2.9);
|
||||
INSERT INTO t1 VALUES (-2.9);
|
||||
INSERT INTO t1 VALUES (-28446744073709551615);
|
||||
INSERT INTO t1 VALUES (-99999999999999999999999999999.9);
|
||||
SELECT a, a & a, a | a, a^0, a<<2, a>>2, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<2 a>>2 bit_count(a)
|
||||
99999999999999999999999999999.9 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551612 4611686018427387903 64
|
||||
28446744073709551615.0 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551612 4611686018427387903 64
|
||||
2.9 3 3 3 12 0 2
|
||||
-2.9 18446744073709551613 18446744073709551613 18446744073709551613 18446744073709551604 4611686018427387903 63
|
||||
-28446744073709551615.0 9223372036854775808 9223372036854775808 9223372036854775808 0 2305843009213693952 1
|
||||
-99999999999999999999999999999.9 9223372036854775808 9223372036854775808 9223372036854775808 0 2305843009213693952 1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a DECIMAL(20,0) NOT NULL);
|
||||
INSERT INTO t1 VALUES (99999999999999999999);
|
||||
INSERT INTO t1 VALUES (28446744073709551615);
|
||||
INSERT INTO t1 VALUES (-28446744073709551615);
|
||||
INSERT INTO t1 VALUES (-99999999999999999999);
|
||||
SELECT a, a & a, a | a, a^0, a<<2, a<<0, a>>1, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<2 a<<0 a>>1 bit_count(a)
|
||||
99999999999999999999 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551612 18446744073709551615 9223372036854775807 64
|
||||
28446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551612 18446744073709551615 9223372036854775807 64
|
||||
-28446744073709551615 9223372036854775808 9223372036854775808 9223372036854775808 0 9223372036854775808 4611686018427387904 1
|
||||
-99999999999999999999 9223372036854775808 9223372036854775808 9223372036854775808 0 9223372036854775808 4611686018427387904 1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a DECIMAL(10,1) NOT NULL);
|
||||
INSERT INTO t1 VALUES (999999999.9);
|
||||
INSERT INTO t1 VALUES (3.5);
|
||||
INSERT INTO t1 VALUES (3.4);
|
||||
INSERT INTO t1 VALUES (2.9);
|
||||
INSERT INTO t1 VALUES (-2.9);
|
||||
INSERT INTO t1 VALUES (-3.4);
|
||||
INSERT INTO t1 VALUES (-3.5);
|
||||
INSERT INTO t1 VALUES (-999999999.9);
|
||||
SELECT a, a & a, a | a, a^0, a<<2, a>>2, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<2 a>>2 bit_count(a)
|
||||
999999999.9 1000000000 1000000000 1000000000 4000000000 250000000 13
|
||||
3.5 4 4 4 16 1 1
|
||||
3.4 3 3 3 12 0 2
|
||||
2.9 3 3 3 12 0 2
|
||||
-2.9 18446744073709551613 18446744073709551613 18446744073709551613 18446744073709551604 4611686018427387903 63
|
||||
-3.4 18446744073709551613 18446744073709551613 18446744073709551613 18446744073709551604 4611686018427387903 63
|
||||
-3.5 18446744073709551612 18446744073709551612 18446744073709551612 18446744073709551600 4611686018427387903 62
|
||||
-999999999.9 18446744072709551616 18446744072709551616 18446744072709551616 18446744069709551616 4611686018177387904 43
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a DECIMAL(10,0) NOT NULL);
|
||||
INSERT INTO t1 VALUES (9999999999);
|
||||
INSERT INTO t1 VALUES (3);
|
||||
INSERT INTO t1 VALUES (-3);
|
||||
INSERT INTO t1 VALUES (-9999999999);
|
||||
SELECT a, a & a, a | a, a^0, a<<2, a<<0, a>>1, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<2 a<<0 a>>1 bit_count(a)
|
||||
9999999999 9999999999 9999999999 9999999999 39999999996 9999999999 4999999999 20
|
||||
3 3 3 3 12 3 1 2
|
||||
-3 18446744073709551613 18446744073709551613 18446744073709551613 18446744073709551604 18446744073709551613 9223372036854775806 63
|
||||
-9999999999 18446744063709551617 18446744063709551617 18446744063709551617 18446744033709551620 18446744063709551617 9223372031854775808 45
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a VARCHAR(30) NOT NULL);
|
||||
INSERT INTO t1 VALUES ('2.9');
|
||||
INSERT INTO t1 VALUES ('18446744073709551610');
|
||||
SELECT a, a & a, a | a, a^0, a<<1, a<<0, a>>1, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<1 a<<0 a>>1 bit_count(a)
|
||||
2.9 3 3 3 6 3 1 2
|
||||
18446744073709551610 18446744073709551610 18446744073709551610 18446744073709551610 18446744073709551604 18446744073709551610 9223372036854775805 62
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a DOUBLE NOT NULL);
|
||||
INSERT INTO t1 VALUES (2.9);
|
||||
INSERT INTO t1 VALUES (10e30);
|
||||
SELECT a, a & a, a | a, a^0, a<<2, a<<0, a>>1, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<2 a<<0 a>>1 bit_count(a)
|
||||
2.9 3 3 3 12 3 1 2
|
||||
1e31 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551612 18446744073709551615 9223372036854775807 64
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a TIME(1) NOT NULL);
|
||||
INSERT INTO t1 VALUES ('00:00:02.9');
|
||||
INSERT INTO t1 VALUES ('800:00:02.9');
|
||||
INSERT INTO t1 VALUES ('-800:00:02.9');
|
||||
SELECT a, a & a, a | a, a^0, a<<1, a<<0, a>>1, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<1 a<<0 a>>1 bit_count(a)
|
||||
00:00:02.9 3 3 3 6 3 1 2
|
||||
800:00:02.9 8000003 8000003 8000003 16000006 8000003 4000001 9
|
||||
-800:00:02.9 18446744073701551613 18446744073701551613 18446744073701551613 18446744073693551610 18446744073701551613 9223372036850775806 56
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a DATETIME(1) NOT NULL);
|
||||
INSERT INTO t1 VALUES ('2001-01-01 00:00:02.9');
|
||||
INSERT INTO t1 VALUES ('2001-01-01 23:59:59.9');
|
||||
INSERT INTO t1 VALUES ('9999-12-31 23:59:59.9');
|
||||
SELECT a, a & a, a | a, a^0, a<<1, a<<0, a>>1, bit_count(a) FROM t1;
|
||||
a a & a a | a a^0 a<<1 a<<0 a>>1 bit_count(a)
|
||||
2001-01-01 00:00:02.9 20010101000003 20010101000003 20010101000003 40020202000006 20010101000003 10005050500001 24
|
||||
2001-01-01 23:59:59.9 20010101235960 20010101235960 20010101235960 40020202471920 20010101235960 10005050617980 25
|
||||
9999-12-31 23:59:59.9 99991231235960 99991231235960 99991231235960 199982462471920 99991231235960 49995615617980 23
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a INT NOT NULL);
|
||||
INSERT INTO t1 VALUES (63),(64),(65);
|
||||
SELECT a, 1<<a,1>>a FROM t1;
|
||||
a 1<<a 1>>a
|
||||
63 9223372036854775808 0
|
||||
64 0 0
|
||||
65 0 0
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MCOL-4666 Empty set when using BIT OR and BIT AND functions in WHERE
|
||||
#
|
||||
CREATE TABLE t1 (a DECIMAL(18,2));
|
||||
INSERT INTO t1 VALUES (3.4);
|
||||
SELECT a, a|4, a&4 FROM t1;
|
||||
a a|4 a&4
|
||||
3.40 7 0
|
||||
SELECT * FROM t1 WHERE (a|4) <> a;
|
||||
a
|
||||
3.40
|
||||
SELECT * FROM t1 WHERE (a&4) <> a;
|
||||
a
|
||||
3.40
|
||||
DROP TABLE t1;
|
||||
DROP DATABASE func_bit;
|
||||
USE test;
|
14
mysql-test/columnstore/basic/r/func_bit_mcs.result
Normal file
14
mysql-test/columnstore/basic/r/func_bit_mcs.result
Normal file
@ -0,0 +1,14 @@
|
||||
SET default_storage_engine=ColumnStore;
|
||||
DROP DATABASE IF EXISTS func_bit_mcs;
|
||||
CREATE DATABASE func_bit_mcs;
|
||||
USE func_bit_mcs;
|
||||
#
|
||||
# MCOL-4666 Empty set when using BIT OR and BIT AND functions in WHERE
|
||||
#
|
||||
CREATE TABLE t1 (a BLOB);
|
||||
INSERT INTO t1 VALUES ('1');
|
||||
SELECT a|1 FROM t1;
|
||||
ERROR HY000: Internal error: Illegal parameter data type blob for operation bitor
|
||||
DROP TABLE t1;
|
||||
DROP DATABASE func_bit_mcs;
|
||||
USE test;
|
20
mysql-test/columnstore/basic/r/func_cast.result
Normal file
20
mysql-test/columnstore/basic/r/func_cast.result
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# MCOL-4631 CAST(double AS SIGNED) returns 0 or NULL
|
||||
#
|
||||
CREATE TABLE t1 (d1 DOUBLE, d2 DOUBLE NOT NULL);
|
||||
INSERT INTO t1 VALUES (9.2233720368547758e+18, 9.2233720368547758e+18);
|
||||
INSERT INTO t1 VALUES (18446744073709551614,18446744073709551614);
|
||||
SELECT d1, CAST(d1 AS SIGNED), CAST(d2 AS SIGNED) FROM t1;
|
||||
d1 CAST(d1 AS SIGNED) CAST(d2 AS SIGNED)
|
||||
9.223372036854776e18 9223372036854775807 9223372036854775807
|
||||
1.8446744073709552e19 9223372036854775807 9223372036854775807
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MCOL-4649 MCOL-4631 CAST(double AS UNSIGNED) returns 0
|
||||
#
|
||||
CREATE TABLE t1 (d1 DOUBLE, d2 DOUBLE NOT NULL);
|
||||
INSERT INTO t1 VALUES (18446744073709551614,18446744073709551614);
|
||||
SELECT d1, CAST(d1 AS UNSIGNED), CAST(d2 AS UNSIGNED) FROM t1;
|
||||
d1 CAST(d1 AS UNSIGNED) CAST(d2 AS UNSIGNED)
|
||||
1.8446744073709552e19 18446744073709551615 18446744073709551615
|
||||
DROP TABLE t1;
|
40
mysql-test/columnstore/basic/r/func_period_diff.result
Normal file
40
mysql-test/columnstore/basic/r/func_period_diff.result
Normal file
@ -0,0 +1,40 @@
|
||||
#
|
||||
# MCOL-4668 PERIOD_DIFF(dec_or_double1,dec_or_double2) is not as in InnoDB
|
||||
#
|
||||
# Narrow decimal rounding
|
||||
CREATE TABLE t1 (a DECIMAL(18,1));
|
||||
INSERT INTO t1 VALUES (200101.9);
|
||||
SELECT PERIOD_DIFF(a, 200101) FROM t1;
|
||||
PERIOD_DIFF(a, 200101)
|
||||
1
|
||||
DROP TABLE t1;
|
||||
# Wide decimal rounding
|
||||
CREATE TABLE t1 (a DECIMAL(30,1));
|
||||
INSERT INTO t1 VALUES (200101.9);
|
||||
SELECT PERIOD_DIFF(a, 200101) FROM t1;
|
||||
PERIOD_DIFF(a, 200101)
|
||||
1
|
||||
DROP TABLE t1;
|
||||
# Huge narrow decimal
|
||||
CREATE TABLE t1 (a DECIMAL(18,0));
|
||||
INSERT INTO t1 VALUES (999999999999999999);
|
||||
SELECT a, PERIOD_DIFF(200101,a) FROM t1;
|
||||
a PERIOD_DIFF(200101,a)
|
||||
999999999999999999 24012
|
||||
DROP TABLE t1;
|
||||
# Huge wide decimal
|
||||
CREATE TABLE t1 (a DECIMAL(30,0));
|
||||
INSERT INTO t1 VALUES (9223372036854775807);
|
||||
SELECT a, PERIOD_DIFF(200101,a) FROM t1;
|
||||
a PERIOD_DIFF(200101,a)
|
||||
9223372036854775807 24012
|
||||
DROP TABLE t1;
|
||||
# Huge double
|
||||
CREATE TABLE t1 (a DOUBLE);
|
||||
INSERT INTO t1 VALUES (9223372036854775807.0-1000);
|
||||
INSERT INTO t1 VALUES (9223372036854775807.0+1000);
|
||||
SELECT a, PERIOD_DIFF(200101,a) FROM t1 ORDER BY 2;
|
||||
a PERIOD_DIFF(200101,a)
|
||||
9.223372036854775e18 24012
|
||||
9.223372036854776e18 24012
|
||||
DROP TABLE t1;
|
18
mysql-test/columnstore/basic/r/func_sec_to_time.result
Normal file
18
mysql-test/columnstore/basic/r/func_sec_to_time.result
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# MCOL-4647 SEC_TO_TIME(double_or_float) returns a wrong result
|
||||
#
|
||||
CREATE TABLE t1 (a DOUBLE);
|
||||
INSERT INTO t1 VALUES (0.000025e-35);
|
||||
INSERT INTO t1 VALUES (-1),(1);
|
||||
INSERT INTO t1 VALUES (-900),(900);
|
||||
INSERT INTO t1 VALUES (-1000000),(1000000);
|
||||
SELECT a, SEC_TO_TIME(a) FROM t1 ORDER BY 1;
|
||||
a SEC_TO_TIME(a)
|
||||
-1000000 -277:46:40.000000
|
||||
-900 -00:15:00.000000
|
||||
-1 -00:00:01.000000
|
||||
2.5e-40 00:00:00.000000
|
||||
1 00:00:01.000000
|
||||
900 00:15:00.000000
|
||||
1000000 277:46:40.000000
|
||||
DROP TABLE t1;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x decimal(38)) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x smallint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
NULL NULL
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x tinyint) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x bigint unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,13 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
delete from t where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
delete from t where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,11 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=66;
|
||||
insert into t(x) values (77), (22);
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
0 -1
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=77 where x=66;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
77 44
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=33 where x=44;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 33
|
||||
drop database test_ranges;
|
@ -0,0 +1,10 @@
|
||||
create database if not exists test_ranges;
|
||||
use test_ranges;
|
||||
drop table if exists t;
|
||||
create table t(x integer unsigned) engine=columnstore;
|
||||
insert into t(x) values (44),(55),(66);
|
||||
update t set x=65 where x=55;
|
||||
select max_value, min_value from information_schema.columnstore_extents;
|
||||
max_value min_value
|
||||
66 44
|
||||
drop database test_ranges;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user