mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
Update two tests
This commit is contained in:
parent
d8250ab3d6
commit
ada4276662
@ -2,7 +2,7 @@ DROP TABLE IF EXISTS test_01343;
|
|||||||
CREATE TABLE test_01343 (x String) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
CREATE TABLE test_01343 (x String) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
||||||
INSERT INTO test_01343 VALUES ('Hello, world');
|
INSERT INTO test_01343 VALUES ('Hello, world');
|
||||||
|
|
||||||
SET min_bytes_to_use_mmap_io = 1;
|
SET local_filesystem_read_method = 'mmap', min_bytes_to_use_mmap_io = 1;
|
||||||
SELECT * FROM test_01343;
|
SELECT * FROM test_01343;
|
||||||
|
|
||||||
SYSTEM FLUSH LOGS;
|
SYSTEM FLUSH LOGS;
|
||||||
|
@ -2,7 +2,7 @@ DROP TABLE IF EXISTS test_01344;
|
|||||||
CREATE TABLE test_01344 (x String, INDEX idx (x) TYPE set(10) GRANULARITY 1) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
CREATE TABLE test_01344 (x String, INDEX idx (x) TYPE set(10) GRANULARITY 1) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0;
|
||||||
INSERT INTO test_01344 VALUES ('Hello, world');
|
INSERT INTO test_01344 VALUES ('Hello, world');
|
||||||
|
|
||||||
SET min_bytes_to_use_mmap_io = 1;
|
SET local_filesystem_read_method = 'mmap', min_bytes_to_use_mmap_io = 1;
|
||||||
SELECT * FROM test_01344 WHERE x = 'Hello, world';
|
SELECT * FROM test_01344 WHERE x = 'Hello, world';
|
||||||
|
|
||||||
SYSTEM FLUSH LOGS;
|
SYSTEM FLUSH LOGS;
|
||||||
|
Loading…
Reference in New Issue
Block a user