2019-10-10 16:10:46 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<yandex>
|
2020-02-27 09:34:06 +00:00
|
|
|
<dictionary>
|
|
|
|
<name>dict0</name>
|
|
|
|
<source>
|
|
|
|
<mysql >
|
|
|
|
<db>test</db>
|
|
|
|
<host>mysql1</host>
|
|
|
|
<port>3306</port>
|
|
|
|
<user>root</user>
|
|
|
|
<password>clickhouse</password>
|
|
|
|
<table>test0</table>
|
|
|
|
<close_connection>true</close_connection>
|
|
|
|
<share_connection>true</share_connection>
|
|
|
|
</mysql>
|
|
|
|
</source>
|
|
|
|
<layout>
|
|
|
|
<hashed/>
|
|
|
|
</layout>
|
|
|
|
<structure>
|
|
|
|
<id>
|
|
|
|
<name>id</name>
|
|
|
|
<type>UInt32</type>
|
|
|
|
<expression>CAST(id AS UNSIGNED)</expression>
|
|
|
|
</id>
|
|
|
|
<attribute>
|
|
|
|
<name>id</name>
|
|
|
|
<type>Int32</type>
|
|
|
|
<null_value></null_value>
|
|
|
|
</attribute>
|
|
|
|
<attribute>
|
|
|
|
<name>value</name>
|
|
|
|
<type>String</type>
|
|
|
|
<null_value>(UNDEFINED)</null_value>
|
|
|
|
</attribute>
|
|
|
|
</structure>
|
|
|
|
<lifetime>0</lifetime>
|
|
|
|
</dictionary>
|
2019-10-10 16:10:46 +00:00
|
|
|
<dictionary>
|
|
|
|
<name>dict1</name>
|
|
|
|
<source>
|
|
|
|
<mysql >
|
|
|
|
<db>test</db>
|
|
|
|
<host>mysql1</host>
|
|
|
|
<port>3306</port>
|
|
|
|
<user>root</user>
|
|
|
|
<password>clickhouse</password>
|
|
|
|
<table>test1</table>
|
|
|
|
<close_connection>true</close_connection>
|
|
|
|
<share_connection>true</share_connection>
|
|
|
|
</mysql>
|
|
|
|
</source>
|
|
|
|
<layout>
|
|
|
|
<hashed/>
|
|
|
|
</layout>
|
|
|
|
<structure>
|
|
|
|
<id>
|
|
|
|
<name>id</name>
|
|
|
|
<type>UInt32</type>
|
|
|
|
<expression>CAST(id AS UNSIGNED)</expression>
|
|
|
|
</id>
|
|
|
|
<attribute>
|
|
|
|
<name>id</name>
|
|
|
|
<type>Int32</type>
|
|
|
|
<null_value></null_value>
|
|
|
|
</attribute>
|
|
|
|
<attribute>
|
|
|
|
<name>value</name>
|
|
|
|
<type>String</type>
|
|
|
|
<null_value>(UNDEFINED)</null_value>
|
|
|
|
</attribute>
|
|
|
|
</structure>
|
|
|
|
<lifetime>0</lifetime>
|
|
|
|
</dictionary>
|
|
|
|
</yandex>
|