mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
17 lines
332 B
SQL
17 lines
332 B
SQL
DROP TABLE IF EXISTS random_mt;
|
|
|
|
CREATE TABLE random_mt
|
|
(
|
|
key UInt64,
|
|
value String
|
|
)
|
|
ENGINE MergeTree()
|
|
ORDER BY tuple();
|
|
|
|
INSERT INTO random_mt VALUES (1, 'Hello');
|
|
|
|
SELECT any(value > 0) from system.events WHERE event = 'PartsLockHoldMicroseconds' or event = 'PartsLockWaitMicroseconds';
|
|
|
|
DROP TABLE IF EXISTS random_mt;
|
|
|