mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
87 lines
2.5 KiB
XML
87 lines
2.5 KiB
XML
<?xml version="1.0"?>
|
|
<yandex>
|
|
<dictionary>
|
|
<name>dict1</name>
|
|
<source>
|
|
<library>
|
|
<path>/etc/clickhouse-server/config.d/dictionaries_lib/dict_lib.so</path>
|
|
<settings>
|
|
<test_type>test_simple</test_type>
|
|
<key>nice key</key>
|
|
<value>interesting, nice value</value>
|
|
<table>//home/interesting-path/to-/interesting_data</table>
|
|
<pass>11</pass>
|
|
<user>user-u -user</user>
|
|
</settings>
|
|
</library>
|
|
</source>
|
|
<layout>
|
|
<hashed/>
|
|
</layout>
|
|
<lifetime>
|
|
<max>1</max>
|
|
<min>1</min>
|
|
</lifetime>
|
|
<structure>
|
|
<id>
|
|
<name>key</name>
|
|
<type>UInt64</type>
|
|
</id>
|
|
<attribute>
|
|
<name>value1</name>
|
|
<null_value></null_value>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
<attribute>
|
|
<name>value2</name>
|
|
<null_value></null_value>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
<attribute>
|
|
<name>value3</name>
|
|
<null_value></null_value>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
</structure>
|
|
</dictionary>
|
|
<dictionary>
|
|
<name>dict2</name>
|
|
<source>
|
|
<library>
|
|
<path>/etc/clickhouse-server/config.d/dictionaries_lib/dict_lib.so</path>
|
|
<settings>
|
|
<test_type>test_nulls</test_type>
|
|
</settings>
|
|
</library>
|
|
</source>
|
|
<layout>
|
|
<hashed/>
|
|
</layout>
|
|
<lifetime>
|
|
<max>1</max>
|
|
<min>1</min>
|
|
</lifetime>
|
|
<structure>
|
|
<id>
|
|
<name>key</name>
|
|
<type>UInt64</type>
|
|
</id>
|
|
<attribute>
|
|
<name>value1</name>
|
|
<null_value>12</null_value>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
<attribute>
|
|
<name>value2</name>
|
|
<null_value>12</null_value>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
<attribute>
|
|
<name>value3</name>
|
|
<null_value>12</null_value>
|
|
<type>UInt64</type>
|
|
</attribute>
|
|
</structure>
|
|
</dictionary>
|
|
</yandex>
|