ClickHouse/dbms/tests/queries/0_stateless/01087_storage_generate.sql

18 lines
494 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS test_table;
2020-03-06 02:19:40 +00:00
CREATE TABLE test_table(a Array(Int8), d Decimal32(4), c Tuple(DateTime64(3), UUID)) ENGINE=GenerateRandom();
2020-03-03 11:31:18 +00:00
SELECT COUNT(*) FROM (SELECT * FROM test_table LIMIT 100);
DROP TABLE IF EXISTS test_table;
SELECT '-';
DROP TABLE IF EXISTS test_table_2;
2020-03-08 01:24:13 +00:00
CREATE TABLE test_table_2(a Array(Int8), d Decimal32(4), c Tuple(DateTime64(3), UUID)) ENGINE=GenerateRandom(10, 5, 3);
SELECT * FROM test_table_2 LIMIT 100;
SELECT '-';
DROP TABLE IF EXISTS test_table_2;