mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Merge upstream/changelog-26.6 (9593 commits) into our debranded fork. - 190 conflicts resolved: 24 delete-side kept-removed (grpc/arrowflight/gcloud), submodules+version→26.6, contrib/CMakeLists keeps zap + new libpng, drops capnproto (zap provides kj), Server.cpp/CMakeLists re-apply the ZAP wiring + gRPC/arrowflight/gcloud removal. - Full-tree debrand re-swept over the new 26.6 code (uniform Datastore naming; Azure fork Clickhouse* symbols preserved). 0 clickhouse in product src/programs/CMakeLists. - Version now 26.6.1.1. gRPC/google-cloud/chdig stay removed; ZAP remains the transport.
58 lines
1.9 KiB
XML
58 lines
1.9 KiB
XML
<datastore>
|
|
<remote_servers>
|
|
<test>
|
|
<shard>
|
|
<replica>
|
|
<host>node</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</test>
|
|
</remote_servers>
|
|
|
|
<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>
|
|
<scripts>
|
|
<query>SELECT 1 SETTINGS skip_unavailable_shards = 1</query>
|
|
<condition>SELECT 1;</condition>
|
|
</scripts>
|
|
<scripts>
|
|
<query>SELECT 1 SETTINGS skip_unavailable_shards = 1</query>
|
|
<condition>SELECT 1;</condition>
|
|
</scripts>
|
|
<scripts>
|
|
<query>
|
|
CREATE DICTIONARY test_dict
|
|
(
|
|
`key` String,
|
|
`value` String
|
|
)
|
|
PRIMARY KEY key
|
|
SOURCE(CLICKHOUSE(QUERY `SELECT 'key' as key, 'value' as value`))
|
|
LIFETIME(30)
|
|
LAYOUT(HASHED);
|
|
</query>
|
|
<user>default</user>
|
|
</scripts>
|
|
|
|
<scripts>
|
|
<query>CREATE DATABASE replicated ON CLUSTER test Engine=Replicated('/clickhouse/databases/replicated', '{shard}', '{replica}')</query>
|
|
</scripts>
|
|
<scripts>
|
|
<query>CREATE TABLE replicated.test_replica (key Int) Engine=ReplicatedMergeTree() ORDER BY ()</query>
|
|
</scripts>
|
|
</startup_scripts>
|
|
</datastore>
|