mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix tests
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
This commit is contained in:
parent
d9cfda905c
commit
51f53af482
@ -38,13 +38,13 @@ def test_valid_options(start_cluster):
|
||||
)
|
||||
node.query(
|
||||
"""
|
||||
CREATE TABLE test (key UInt64, value String) Engine=EmbeddedRocksDB(0, true) PRIMARY KEY(key);
|
||||
CREATE TABLE test (key UInt64, value String) Engine=EmbeddedRocksDB(0, 1) PRIMARY KEY(key);
|
||||
DROP TABLE test;
|
||||
"""
|
||||
)
|
||||
node.query(
|
||||
"""
|
||||
CREATE TABLE test (key UInt64, value String) Engine=EmbeddedRocksDB(10, true) PRIMARY KEY(key);
|
||||
CREATE TABLE test (key UInt64, value String) Engine=EmbeddedRocksDB(10, 1) PRIMARY KEY(key);
|
||||
DROP TABLE test;
|
||||
"""
|
||||
)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
DROP TABLE IF EXISTS 02381_test;
|
||||
|
||||
CREATE TABLE 02381_test (key UInt64, value String) Engine=EmbeddedRocksDB("0", "true") PRIMARY KEY(key);
|
||||
CREATE TABLE 02381_test (key UInt64, value String) Engine=EmbeddedRocksDB(0, 1) PRIMARY KEY(key);
|
||||
|
||||
SELECT value FROM system.rocksdb WHERE database = currentDatabase() and table = '02381_test' and name = 'number.keys.written';
|
||||
INSERT INTO 02381_test SELECT number, format('Hello, world ({})', toString(number)) FROM numbers(10000);
|
||||
|
Loading…
Reference in New Issue
Block a user