| 2066 | // The Bolt type is the type of the `values` child. |
| 2067 | return importFromArrow(*arrowSchema.children[1]); |
| 2068 | |
| 2069 | default: |
| 2070 | break; |
| 2071 | } |
| 2072 | } break; |
| 2073 | |
| 2074 | default: |
| 2075 | break; |
| 2076 | } |
| 2077 | BOLT_USER_FAIL( |
| 2078 | "Unable to convert '{}' ArrowSchema format type to Bolt.", format); |
| 2079 | } |
| 2080 | |
| 2081 | void exportMapToArrowSchema( |
| 2082 | const MapVector& maps, |
| 2083 | ArrowSchema& arrowSchema, |
| 2084 | const ArrowOptions& options, |
| 2085 | BoltToArrowSchemaBridgeHolder* bridgeHolder, |
| 2086 | memory::MemoryPool* pool) { |
| 2087 | auto& type = maps.type(); |
| 2088 | // Need to wrap the key and value types in a struct type. |
no test coverage detected