mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
18 lines
605 B
XML
18 lines
605 B
XML
<clickhouse>
|
|
<startup_scripts>
|
|
<scripts>
|
|
<query>CREATE ROLE OR REPLACE testrole</query>
|
|
</scripts>
|
|
<scripts>
|
|
<query>GRANT CREATE USER, ALTER USER, DROP USER, SHOW USERS, SHOW CREATE USER ON *.* TO 'testrole' WITH GRANT OPTION;</query>
|
|
</scripts>
|
|
<scripts>
|
|
<query>CREATE TABLE TestTable (id UInt64) ENGINE=TinyLog</query>
|
|
<condition>SELECT 1;</condition>
|
|
</scripts>
|
|
<scripts>
|
|
<query>SELECT * FROM system.query_log LIMIT 1</query>
|
|
</scripts>
|
|
</startup_scripts>
|
|
</clickhouse>
|