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

Function strings_to_kvm

r/src/schema.cpp:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132std::shared_ptr<arrow::KeyValueMetadata> strings_to_kvm(cpp11::strings metadata) {
133 auto values = cpp11::as_cpp<std::vector<std::string>>(metadata);
134 auto names = cpp11::as_cpp<std::vector<std::string>>(metadata.attr("names"));
135
136 return std::make_shared<arrow::KeyValueMetadata>(std::move(names), std::move(values));
137}
138
139// [[arrow::export]]
140std::shared_ptr<arrow::Schema> Schema__WithMetadata(

Callers 3

ExecPlan_runFunction · 0.85
fs___GcsFileSystem__MakeFunction · 0.85
Schema__WithMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected