mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update TableFunctionPostgreSQL.cpp
This commit is contained in:
parent
c95a29edac
commit
057fe51ec8
@ -52,7 +52,7 @@ ColumnsDescription TableFunctionPostgreSQL::getActualTableStructure(ContextPtr c
|
||||
connection_holder->get(), configuration->table, configuration->schema, use_nulls).columns;
|
||||
|
||||
if (!columns)
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Table strcuture not returned");
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Table structure not returned");
|
||||
return ColumnsDescription{*columns};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user