mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
15 lines
389 B
C++
15 lines
389 B
C++
|
#include <Storages/System/StorageSystemTableFunctions.h>
|
||
|
|
||
|
#include <TableFunctions/TableFunctionFactory.h>
|
||
|
namespace DB
|
||
|
{
|
||
|
void StorageSystemTableFunctions::fillData(MutableColumns & res_columns) const
|
||
|
{
|
||
|
const auto & functions = TableFunctionFactory::instance().getAllTableFunctions();
|
||
|
for (const auto & pair : functions)
|
||
|
{
|
||
|
res_columns[0]->insert(pair.first);
|
||
|
}
|
||
|
}
|
||
|
}
|