mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix test_dictionaries_postgresql
This commit is contained in:
parent
c86c6cc2d9
commit
6f6e814542
@ -5,7 +5,7 @@
|
||||
<password>mysecretpassword</password>
|
||||
<host>postgres1</host>
|
||||
<port>5432</port>
|
||||
<database>clickhouse</database>
|
||||
<database>postgres_database</database>
|
||||
<table>test_table</table>
|
||||
</postgres1>
|
||||
<postgres2>
|
||||
@ -13,7 +13,7 @@
|
||||
<password>mysecretpassword</password>
|
||||
<host>postgres1</host>
|
||||
<port>5432</port>
|
||||
<database>clickhouse</database>
|
||||
<database>postgres_database</database>
|
||||
<table>test_table</table>
|
||||
<schema>test_schema</schema>
|
||||
</postgres2>
|
||||
|
@ -430,6 +430,9 @@ def test_postgres_schema(started_cluster):
|
||||
result = node1.query("SELECT dictGetUInt32(postgres_dict, 'value', toUInt64(99))")
|
||||
assert int(result.strip()) == 99
|
||||
node1.query("DROP DICTIONARY IF EXISTS postgres_dict")
|
||||
cursor.execute("DROP TABLE test_schema.test_table")
|
||||
cursor.execute("DROP SCHEMA test_schema")
|
||||
|
||||
|
||||
|
||||
def test_predefined_connection_configuration(started_cluster):
|
||||
|
Loading…
Reference in New Issue
Block a user