mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
update error message
This commit is contained in:
parent
17f60b54cb
commit
5fffe2508c
@ -88,7 +88,7 @@ void TableFunctionMerge::parseArguments(const ASTPtr & ast_function, ContextPtr
|
|||||||
|
|
||||||
if (args_func.size() != 1)
|
if (args_func.size() != 1)
|
||||||
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH,
|
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH,
|
||||||
"Table function 'merge' from 1 to 2 parameters: "
|
"Table function 'merge' requires from 1 to 2 parameters: "
|
||||||
"merge(['db_name',] 'tables_regexp')");
|
"merge(['db_name',] 'tables_regexp')");
|
||||||
|
|
||||||
ASTs & args = args_func.at(0)->children;
|
ASTs & args = args_func.at(0)->children;
|
||||||
@ -117,7 +117,7 @@ void TableFunctionMerge::parseArguments(const ASTPtr & ast_function, ContextPtr
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH,
|
throw Exception(ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH,
|
||||||
"Table function 'merge' from 1 to 2 parameters: "
|
"Table function 'merge' requires from 1 to 2 parameters: "
|
||||||
"merge(['db_name',] 'tables_regexp')");
|
"merge(['db_name',] 'tables_regexp')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user