diff --git a/src/TableFunctions/TableFunctionURL.cpp b/src/TableFunctions/TableFunctionURL.cpp index b4db03d4495..e7c8197a58c 100644 --- a/src/TableFunctions/TableFunctionURL.cpp +++ b/src/TableFunctions/TableFunctionURL.cpp @@ -30,7 +30,7 @@ void TableFunctionURL::parseArguments(const ASTPtr & ast, ContextPtr context) { const auto & ast_function = assert_cast(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);