ClickHouse/tests/config/config.d/named_collection.xml
2023-11-13 10:09:58 +01:00

54 lines
1.8 KiB
XML

<clickhouse>
<named_collections>
<remote1>
<host>127.0.0.2</host>
<port>9000</port>
<table>remote_test</table>
</remote1>
<remote2>
<host>127.0.0.{1,2}</host>
<table>remote_test</table>
</remote2>
<clickhouse_dictionary>
<host>localhost</host>
<user>default</user>
<table>s</table>
</clickhouse_dictionary>
<url_with_headers>
<headers>
<header>
<name>X-ClickHouse-Format</name>
<value>Vertical</value>
</header>
<header>
<name>X-ClickHouse-Database</name>
<value>non_existing_database</value>
</header>
</headers>
</url_with_headers>
<s3_conn>
<url>http://localhost:11111/test/</url>
<access_key_id>test</access_key_id>
<secret_access_key>testtest</secret_access_key>
<structure>auto</structure>
</s3_conn>
<s3_conn_db>
<url>http://localhost:11111/test/</url>
<access_key_id>test</access_key_id>
<secret_access_key>testtest</secret_access_key>
</s3_conn_db>
<cache_collection>
<max_size>1Mi</max_size>
<path>collection</path>
</cache_collection>
<url_override1>
<url overridable="0">http://127.0.0.1:8123?query=select+1</url>
<format overridable="1">RawBLOB</format>
</url_override1>
<url_override2>
<url>http://127.0.0.1:8123?query=select+1</url>
<format>RawBLOB</format>
</url_override2>
</named_collections>
</clickhouse>