| 1 | #include <TableFunctions/ITableFunction.h> |
|---|---|
| 2 | #include <Common/ProfileEvents.h> |
| 3 | |
| 4 | |
| 5 | namespace ProfileEvents |
| 6 | { |
| 7 | extern const Event TableFunctionExecute; |
| 8 | } |
| 9 | |
| 10 | namespace DB |
| 11 | { |
| 12 | |
| 13 | StoragePtr ITableFunction::execute(const ASTPtr & ast_function, const Context & context, const std::string & table_name) const |
| 14 | { |
| 15 | ProfileEvents::increment(ProfileEvents::TableFunctionExecute); |
| 16 | return executeImpl(ast_function, context, table_name); |
| 17 | } |
| 18 | |
| 19 | } |
| 20 |