| 136 | } |
| 137 | |
| 138 | ArrowSchemaWrapper makeLivesInSchema() { |
| 139 | ArrowSchemaWrapper schema; |
| 140 | createStructSchema(&schema, 4); |
| 141 | createSchema<int64_t>(schema.children[0], "from"); |
| 142 | createSchema<int64_t>(schema.children[1], "to"); |
| 143 | createDateSchema(schema.children[2], "since"); |
| 144 | createListInt64Schema(schema.children[3], "importance"); |
| 145 | return schema; |
| 146 | } |
| 147 | |
| 148 | ArrowArrayWrapper makePersonBatch(const std::vector<PersonRow>& rows) { |
| 149 | std::vector<int64_t> ids; |
no test coverage detected