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