MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / takeArrowSchema

Function takeArrowSchema

src/c_api/connection.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static ArrowSchemaWrapper takeArrowSchema(ArrowSchema* schema) {
55 ArrowSchemaWrapper wrapper;
56 static_cast<ArrowSchema&>(wrapper) = *schema;
57 schema->release = nullptr;
58 return wrapper;
59}
60
61static std::vector<ArrowArrayWrapper> takeArrowArrays(ArrowArray* arrays, uint64_t numArrays) {
62 std::vector<ArrowArrayWrapper> wrappers;

Calls

no outgoing calls

Tested by

no test coverage detected