#include #include namespace DB { NamesAndTypesList StorageSystemWarnings::getNamesAndTypes() { return { {"message", std::make_shared()}, }; } void StorageSystemWarnings::fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const { for (const auto & warning : context->getWarnings()) res_columns[0]->insert(warning); } }