| 33 | } |
| 34 | |
| 35 | static int64_t findArrowColumnByName(const ArrowSchemaWrapper& schema, const std::string& name) { |
| 36 | for (int64_t i = 0; i < schema.n_children; ++i) { |
| 37 | if (schema.children && schema.children[i] && schema.children[i]->name && |
| 38 | name == schema.children[i]->name) { |
| 39 | return i; |
| 40 | } |
| 41 | } |
| 42 | return -1; |
| 43 | } |
| 44 | |
| 45 | std::string ArrowTableSupport::registerArrowData(ArrowSchemaWrapper schema, |
| 46 | std::vector<ArrowArrayWrapper> arrays) { |
no outgoing calls
no test coverage detected