mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update PostgreSQLDictionarySource.cpp
This commit is contained in:
parent
f03484e0dc
commit
749b91347d
@ -32,7 +32,7 @@ namespace
|
||||
{
|
||||
QualifiedTableName qualified_name{schema, table};
|
||||
|
||||
if (qualified_name.database.empty())
|
||||
if (qualified_name.database.empty() && !qualified_name.table.empty())
|
||||
qualified_name = QualifiedTableName::parseFromString(qualified_name.table);
|
||||
|
||||
/// Do not need db because it is already in a connection string.
|
||||
|
Loading…
Reference in New Issue
Block a user