mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
Fix build errors
This commit is contained in:
parent
7780a74bd8
commit
4fd3bcd823
@ -19,11 +19,12 @@ public:
|
|||||||
uint64_t getNaturalWriteSize() const override;
|
uint64_t getNaturalWriteSize() const override;
|
||||||
void write(const void* buf, size_t length) override;
|
void write(const void* buf, size_t length) override;
|
||||||
|
|
||||||
void close() override {};
|
void close() override {}
|
||||||
const std::string& getName() const override { return "ORCOutputStream"; };
|
const std::string& getName() const override { return name; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WriteBuffer & out;
|
WriteBuffer & out;
|
||||||
|
std::string name = "ORCOutputStream";
|
||||||
};
|
};
|
||||||
|
|
||||||
class ORCBlockOutputFormat : public IOutputFormat
|
class ORCBlockOutputFormat : public IOutputFormat
|
||||||
@ -35,8 +36,6 @@ public:
|
|||||||
void consume(Chunk chunk) override;
|
void consume(Chunk chunk) override;
|
||||||
void finalize() override;
|
void finalize() override;
|
||||||
|
|
||||||
String getContentType() const override { return "application/octet-stream"; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ORC_UNIQUE_PTR<orc::Type> getORCType(const DataTypePtr & type);
|
ORC_UNIQUE_PTR<orc::Type> getORCType(const DataTypePtr & type);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user