ClickHouse/tests/integration/test_library_bridge/configs/dictionaries/dict1.xml
2022-08-28 02:44:02 +02:00

86 lines
2.5 KiB
XML

<clickhouse>
<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>
</clickhouse>