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

Function lbug_query_result_get_arrow_schema

src/c_api/query_result.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120lbug_state lbug_query_result_get_arrow_schema(lbug_query_result* query_result,
121 ArrowSchema* out_schema) {
122 try {
123 *out_schema = *static_cast<QueryResult*>(query_result->_query_result)->getArrowSchema();
124 return LbugSuccess;
125 } catch (Exception& e) {
126 return LbugError;
127 }
128}
129
130lbug_state lbug_query_result_get_next_arrow_chunk(lbug_query_result* query_result,
131 int64_t chunk_size, ArrowArray* out_arrow_array) {

Callers

nothing calls this directly

Calls 1

getArrowSchemaMethod · 0.80

Tested by

no test coverage detected