#pragma once #include // in contrib/arrow/cpp/src/ , generated from parquet.thrift #include namespace DB::Parquet { /// Returns number of bytes written. template size_t serializeThriftStruct(const T & obj, WriteBuffer & out); extern template size_t serializeThriftStruct(const parquet::format::PageHeader &, WriteBuffer & out); extern template size_t serializeThriftStruct(const parquet::format::ColumnChunk &, WriteBuffer & out); extern template size_t serializeThriftStruct(const parquet::format::FileMetaData &, WriteBuffer & out); }