| 118 | } |
| 119 | |
| 120 | lbug_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 | |
| 130 | lbug_state lbug_query_result_get_next_arrow_chunk(lbug_query_result* query_result, |
| 131 | int64_t chunk_size, ArrowArray* out_arrow_array) { |
nothing calls this directly
no test coverage detected