1#pragma once
2
3#include <DataStreams/IBlockInputStream.h>
4
5namespace DB
6{
7
8/** Converts columns-constants to full columns ("materializes" them).
9 */
10class MaterializingBlockInputStream : public IBlockInputStream
11{
12public:
13 MaterializingBlockInputStream(const BlockInputStreamPtr & input);
14 String getName() const override;
15 Block getHeader() const override;
16
17protected:
18 Block readImpl() override;
19};
20
21}
22