Fix build errors

This commit is contained in:
Avogar 2020-06-18 03:17:08 +03:00
parent 7780a74bd8
commit 4fd3bcd823

View File

@ -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);