ClickHouse/tests/config/config.d/named_collection.xml

54 lines
1.8 KiB
XML
Raw Normal View History

<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>
2022-03-24 18:09:13 +00:00
<url_with_headers>
<headers>
<header>
2022-03-25 08:53:56 +00:00
<name>X-ClickHouse-Format</name>
<value>Vertical</value>
</header>
<header>
<name>X-ClickHouse-Database</name>
<value>non_existing_database</value>
2022-03-24 18:09:13 +00:00
</header>
</headers>
</url_with_headers>
2022-03-28 19:18:20 +00:00
<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>