From aac14ed7e6276a8ca9dca33f2964f713b12c99cc Mon Sep 17 00:00:00 2001 From: Paris Morgan Date: Fri, 18 Oct 2024 10:33:00 -0700 Subject: [PATCH] Write dimensions at uint64 in Python (#556) --- apis/python/src/tiledb/vector_search/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/python/src/tiledb/vector_search/index.py b/apis/python/src/tiledb/vector_search/index.py index e69fe93a7..23ca3c782 100644 --- a/apis/python/src/tiledb/vector_search/index.py +++ b/apis/python/src/tiledb/vector_search/index.py @@ -910,7 +910,7 @@ def create_metadata( """ group.meta["dataset_type"] = DATASET_TYPE group.meta["dtype"] = np.dtype(vector_type).name - group.meta["dimensions"] = dimensions + group.meta["dimensions"] = np.uint64(dimensions) group.meta["storage_version"] = storage_version group.meta["index_type"] = index_type group.meta["base_sizes"] = json.dumps([0])