Update ITableFunctionFileLike.cpp

This commit is contained in:
Alexander Kuzmenkov 2021-05-26 21:49:33 +03:00 committed by GitHub
parent 5da54c2745
commit 2a9b59f707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ void ITableFunctionFileLike::parseArguments(const ASTPtr & ast_function, Context
if (structure.empty())
throw Exception(ErrorCodes::BAD_ARGUMENTS,
"Table structure is empty for table function '{}'",
ast_function.formatForErrorMessage());
ast_function->formatForErrorMessage());
if (args.size() == 4)
compression_method = args[3]->as<ASTLiteral &>().value.safeGet<String>();