mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fixed error [#METR-22462].
This commit is contained in:
parent
867b73b6b0
commit
31fcf61ee0
@ -67,7 +67,7 @@ StoragePtr TableFunctionMerge::execute(ASTPtr ast_function, Context & context) c
|
||||
ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH);
|
||||
|
||||
args[0] = evaluateConstantExpressionOrIdentidierAsLiteral(args[1], context);
|
||||
args[1] = evaluateConstantExpressionAsLiteral(args[2], context);
|
||||
args[1] = evaluateConstantExpressionAsLiteral(args[1], context);
|
||||
|
||||
String source_database = static_cast<const ASTLiteral &>(*args[0]).value.safeGet<String>();
|
||||
String table_name_regexp = static_cast<const ASTLiteral &>(*args[1]).value.safeGet<String>();
|
||||
|
Loading…
Reference in New Issue
Block a user