mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update InterpreterCreateQuery.cpp
This commit is contained in:
parent
779a178347
commit
834267054e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user