MCPcopy Create free account
hub / github.com/apache/arrow / ipc___WriteFeather__Table

Function ipc___WriteFeather__Table

r/src/feather.cpp:28–40  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

26
27// [[arrow::export]]
28void 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

Callers 1

Calls 4

StopIfNotOkFunction · 0.85
DefaultsFunction · 0.50
WriteTableFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected