#include #include #include namespace DB { NamesAndTypesList StorageSystemTableEngines::getNamesAndTypes() { return {{"name", std::make_shared()}}; } void StorageSystemTableEngines::fillData(MutableColumns & res_columns, const Context &, const SelectQueryInfo &) const { const auto & storages = StorageFactory::instance().getAllStorages(); for (const auto & [name, creator] : storages) { res_columns[0]->insert(name); } } }