Update TableFunctionURL.cpp

This commit is contained in:
Kseniia Sumarokova 2023-01-05 21:35:52 +01:00 committed by GitHub
parent fcb042d80c
commit a2a9c7dec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ void TableFunctionURL::parseArguments(const ASTPtr & ast, ContextPtr context)
{
const auto & ast_function = assert_cast<const ASTFunction *>(ast.get());
auto & args = ast_function->children;
const auto & args = ast_function->children;
if (args.empty())
throw Exception(ErrorCodes::BAD_ARGUMENTS, bad_arguments_error_message);