mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-07 16:14:52 +00:00
74 lines
1.8 KiB
XML
74 lines
1.8 KiB
XML
<?xml version="1.0"?>
|
|
<yandex>
|
|
<dictionary>
|
|
<name>dict0</name>
|
|
<source>
|
|
<postgresql>
|
|
<db>clickhouse</db>
|
|
<host>postgres1</host>
|
|
<port>5432</port>
|
|
<user>postgres</user>
|
|
<password>mysecretpassword</password>
|
|
<table>test0</table>
|
|
</postgresql>
|
|
</source>
|
|
<layout>
|
|
<hashed/>
|
|
</layout>
|
|
<structure>
|
|
<id>
|
|
<name>id</name>
|
|
<type>UInt32</type>
|
|
</id>
|
|
<attribute>
|
|
<name>id</name>
|
|
<type>UInt32</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>value</name>
|
|
<type>UInt32</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</structure>
|
|
<lifetime>1</lifetime>
|
|
</dictionary>
|
|
<dictionary>
|
|
<name>dict1</name>
|
|
<source>
|
|
<postgresql>
|
|
<db>clickhouse</db>
|
|
<host>postgres1</host>
|
|
<port>5432</port>
|
|
<user>postgres</user>
|
|
<password>mysecretpassword</password>
|
|
<table>test1</table>
|
|
<invalidate_query>SELECT value FROM test1 WHERE id = 0</invalidate_query>
|
|
</postgresql>
|
|
</source>
|
|
<layout>
|
|
<hashed/>
|
|
</layout>
|
|
<structure>
|
|
<id>
|
|
<name>id</name>
|
|
<type>UInt32</type>
|
|
</id>
|
|
<attribute>
|
|
<name>id</name>
|
|
<type>UInt32</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>value</name>
|
|
<type>UInt32</type>
|
|
<null_value></null_value>
|
|
</attribute>
|
|
</structure>
|
|
<lifetime>
|
|
<min>1</min>
|
|
<max>1</max>
|
|
</lifetime>
|
|
</dictionary>
|
|
</yandex>
|