ClickHouse/dbms/TableFunctions/ITableFunction.cpp

20 lines
429 B
C++
Raw Normal View History

#include <TableFunctions/ITableFunction.h>
#include <Common/ProfileEvents.h>
namespace ProfileEvents
{
extern const Event TableFunctionExecute;
}
namespace DB
{
2019-07-18 18:29:49 +00:00
StoragePtr ITableFunction::execute(const ASTPtr & ast_function, const Context & context, const std::string & table_name) const
{
ProfileEvents::increment(ProfileEvents::TableFunctionExecute);
2019-07-18 18:29:49 +00:00
return executeImpl(ast_function, context, table_name);
}
}