ClickHouse/tests/integration/test_dictionaries_postgresql/configs/postgres_dict.xml

38 lines
964 B
XML
Raw Normal View History

2020-12-09 21:14:16 +00:00
<?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>
2020-12-13 22:48:40 +00:00
<invalidate_query>SELECT value FROM test0 WHERE id = 0</invalidate_query>
2020-12-09 21:14:16 +00:00
</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>
2020-12-21 19:20:56 +00:00
<lifetime>1</lifetime>
2020-12-09 21:14:16 +00:00
</dictionary>
</yandex>