| 65 | std::vector<uint64_t> coords; |
| 66 | |
| 67 | void create_array(Context& ctx) { |
| 68 | ArraySchema schema(ctx, array_type); |
| 69 | Domain domain(ctx); |
| 70 | domain.add_dimension( |
| 71 | Dimension::create<uint64_t>(ctx, "d1", {0, dim_limit}, tile_extent)); |
| 72 | schema.set_domain(domain); |
| 73 | schema.add_attribute(Attribute::create<uint64_t>(ctx, "a1")); |
| 74 | schema.add_attribute( |
| 75 | Attribute::create<uint64_t>(ctx, "a2").set_nullable(true)); |
| 76 | schema.add_attribute(Attribute::create<std::vector<char>>(ctx, "a3")); |
| 77 | if (array_type == TILEDB_SPARSE) { |
| 78 | schema.set_capacity(capacity); |
| 79 | } |
| 80 | Array::create(s3_array, schema); |
| 81 | } |
| 82 | |
| 83 | // Each global order write of size chunk_size will create an intermediate S3 |
| 84 | // chunk which can be observed (when pausing execution before |
no test coverage detected