mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix header for catboost pool [#CLICKHOUSE-3871]
This commit is contained in:
parent
57b626a796
commit
aaf719d671
@ -57,10 +57,9 @@ public:
|
||||
reader->readSuffix();
|
||||
}
|
||||
|
||||
Block getHeader() const override { return sample_block; }
|
||||
Block getHeader() const override { return reader->getHeader(); }
|
||||
|
||||
private:
|
||||
Block sample_block;
|
||||
std::unique_ptr<ReadBufferFromFileDescriptor> read_buf;
|
||||
BlockInputStreamPtr reader;
|
||||
std::string file_name;
|
||||
|
Loading…
Reference in New Issue
Block a user