Update InterpreterCreateQuery.cpp

This commit is contained in:
Vadim 2018-10-10 16:14:29 +03:00 committed by GitHub
parent 779a178347
commit 834267054e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ static ColumnsAndDefaults parseColumns(const ASTExpressionList & column_list_ast
for (auto action : actions->getActions())
if (action.type == ExpressionAction::Type::JOIN || action.type == ExpressionAction::Type::ARRAY_JOIN)
throw Exception{"Cannot CREATE table. Unsupported default value ", ErrorCodes::THERE_IS_NO_DEFAULT_VALUE};
throw Exception("Cannot CREATE table. Unsupported default value ", ErrorCodes::THERE_IS_NO_DEFAULT_VALUE);
for (auto & column : defaulted_columns)
{