#pragma once
#include
#include
namespace DB
{
class Context;
/** Implements system table 'parts_columns' which allows to get information about
* columns in data parts for tables of MergeTree family.
*/
class StorageSystemPartsColumns final
: public shared_ptr_helper, public StorageSystemPartsBase
{
friend struct shared_ptr_helper;
public:
std::string getName() const override { return "SystemPartsColumns"; }
protected:
StorageSystemPartsColumns(const StorageID & table_id_);
void processNextStorage(
MutableColumns & columns, std::vector & columns_mask, const StoragesInfo & info, bool has_state_column) override;
};
}