Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-02-19 07:11:55 +03:00
parent 8d9fc36ac8
commit f6766c89c4

View File

@ -38,7 +38,7 @@ public:
bool isSortedOutput() const override { return true; }
const SortDescription & getSortDescription() const override { return description; }
Block getHeader() const override { return children.at(0)->getHeader(); }
Block getHeader() const override { return blocks.at(0)->cloneEmpty(); }
protected:
Block readImpl() override;