#pragma once #include #include #include namespace DB { class Context; /** System table "distributed_ddl_queue" with list of queries that are currently in the DDL worker queue. */ class StorageSystemDDLWorkerQueue final : public IStorageSystemOneBlock { protected: void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override; using IStorageSystemOneBlock::IStorageSystemOneBlock; public: std::string getName() const override { return "SystemDDLWorkerQueue"; } static NamesAndTypesList getNamesAndTypes(); }; }