modify test

This commit is contained in:
Guillaume Tassery 2020-01-10 12:22:07 +01:00
parent 4c316e7671
commit fba592380e
2 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,3 @@
10000000
0
10000000

View File

@ -1,5 +1,7 @@
CREATE TABLE IF NOT EXISTS test Engine = MergeTree ORDER BY number AS SELECT number, toString(rand()) x from numbers(10000000);
SELECT count() FROM test;
ALTER TABLE test detach partition tuple();
SELECT count() FROM test;