| 403 | using ParquetWriter = TypedColumnWriter<ParquetDataType<T>>; |
| 404 | |
| 405 | Result<std::shared_ptr<Buffer>> WriteTableToBuffer( |
| 406 | const std::shared_ptr<Table>& table, int64_t row_group_size, |
| 407 | const std::shared_ptr<WriterProperties>& properties = default_writer_properties(), |
| 408 | const std::shared_ptr<ArrowWriterProperties>& arrow_properties = |
| 409 | default_arrow_writer_properties()) { |
| 410 | auto sink = CreateOutputStream(); |
| 411 | ARROW_RETURN_NOT_OK(WriteTable(*table, ::arrow::default_memory_pool(), sink, |
| 412 | row_group_size, properties, arrow_properties)); |
| 413 | return sink->Finish(); |
| 414 | } |
| 415 | |
| 416 | void WriteTableToBuffer(const std::shared_ptr<Table>& table, int64_t row_group_size, |
| 417 | const std::shared_ptr<ArrowWriterProperties>& arrow_properties, |
no test coverage detected