[[arrow::export]]
| 41 | |
| 42 | // [[arrow::export]] |
| 43 | std::shared_ptr<arrow::ipc::RecordBatchWriter> ipc___RecordBatchFileWriter__Open( |
| 44 | const std::shared_ptr<arrow::io::OutputStream>& stream, |
| 45 | const std::shared_ptr<arrow::Schema>& schema, bool use_legacy_format, |
| 46 | arrow::ipc::MetadataVersion metadata_version) { |
| 47 | auto options = arrow::ipc::IpcWriteOptions::Defaults(); |
| 48 | options.write_legacy_ipc_format = use_legacy_format; |
| 49 | options.metadata_version = metadata_version; |
| 50 | options.memory_pool = gc_memory_pool(); |
| 51 | return ValueOrStop(arrow::ipc::MakeFileWriter(stream, schema, options)); |
| 52 | } |
| 53 | |
| 54 | // [[arrow::export]] |
| 55 | std::shared_ptr<arrow::ipc::RecordBatchWriter> ipc___RecordBatchStreamWriter__Open( |
no test coverage detected