Update TableFunctionPostgreSQL.cpp

This commit is contained in:
Kseniia Sumarokova 2021-10-22 13:08:38 +03:00 committed by GitHub
parent c95a29edac
commit 057fe51ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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};
}