| 175 | } |
| 176 | |
| 177 | void array_schema_evolve(const Context& ctx) { |
| 178 | ArraySchemaEvolution schemaEvolution = ArraySchemaEvolution(ctx); |
| 179 | |
| 180 | // Add attribute b |
| 181 | Attribute b = Attribute::create<uint32_t>(ctx, "b"); |
| 182 | uint32_t fill_value = 1; |
| 183 | b.set_fill_value(&fill_value, sizeof(fill_value)); |
| 184 | schemaEvolution.add_attribute(b); |
| 185 | |
| 186 | // evolve array |
| 187 | schemaEvolution.array_evolve(array_uri); |
| 188 | } |
| 189 | |
| 190 | int main() { |
| 191 | Config cfg; |
no test coverage detected