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

Function ipc___WriteFeather__Table

r/src/feather.cpp:28–42  ·  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 ARROW_SUPPRESS_DEPRECATION_WARNING
33 auto properties = arrow::ipc::feather::WriteProperties::Defaults();
34 properties.version = version;
35 properties.chunksize = chunk_size;
36 properties.compression = compression;
37 if (compression_level != -1) {
38 properties.compression_level = compression_level;
39 }
40 StopIfNotOk(arrow::ipc::feather::WriteTable(*table, stream.get(), properties));
41 ARROW_UNSUPPRESS_DEPRECATION_WARNING
42}
43
44// ----------- Reader
45

Callers 1

Calls 4

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

Tested by

no test coverage detected