[[arrow::export]]
| 26 | |
| 27 | // [[arrow::export]] |
| 28 | void ipc___WriteFeather__Table(const std::shared_ptr<arrow::io::OutputStream>& stream, |
| 29 | const std::shared_ptr<arrow::Table>& table, int version, |
| 30 | int chunk_size, arrow::Compression::type compression, |
| 31 | int compression_level) { |
| 32 | auto properties = arrow::ipc::feather::WriteProperties::Defaults(); |
| 33 | properties.version = version; |
| 34 | properties.chunksize = chunk_size; |
| 35 | properties.compression = compression; |
| 36 | if (compression_level != -1) { |
| 37 | properties.compression_level = compression_level; |
| 38 | } |
| 39 | StopIfNotOk(arrow::ipc::feather::WriteTable(*table, stream.get(), properties)); |
| 40 | } |
| 41 | |
| 42 | // ----------- Reader |
| 43 |
no test coverage detected