| 1511 | } |
| 1512 | |
| 1513 | void create_sparse_array_v11(tiledb_ctx_t* ctx, const std::string& array_name) { |
| 1514 | tiledb_config_t* config; |
| 1515 | REQUIRE(tiledb_ctx_get_config(ctx, &config) == TILEDB_OK); |
| 1516 | tiledb_vfs_t* vfs; |
| 1517 | REQUIRE(tiledb_vfs_alloc(ctx, config, &vfs) == TILEDB_OK); |
| 1518 | // Get the v11 sparse array. |
| 1519 | std::string v11_arrays_dir = |
| 1520 | std::string(TILEDB_TEST_INPUTS_DIR) + "/arrays/sparse_array_v11"; |
| 1521 | REQUIRE( |
| 1522 | tiledb_vfs_copy_dir( |
| 1523 | ctx, vfs, v11_arrays_dir.c_str(), array_name.c_str()) == TILEDB_OK); |
| 1524 | } |
| 1525 | |
| 1526 | void write_sparse_v11( |
| 1527 | tiledb_ctx_t* ctx, const std::string& array_name, uint64_t timestamp) { |
no test coverage detected