Skip to content

Commit aac14ed

Browse files
authored
Write dimensions at uint64 in Python (#556)
1 parent 37f2f9d commit aac14ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/python/src/tiledb/vector_search/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ def create_metadata(
910910
"""
911911
group.meta["dataset_type"] = DATASET_TYPE
912912
group.meta["dtype"] = np.dtype(vector_type).name
913-
group.meta["dimensions"] = dimensions
913+
group.meta["dimensions"] = np.uint64(dimensions)
914914
group.meta["storage_version"] = storage_version
915915
group.meta["index_type"] = index_type
916916
group.meta["base_sizes"] = json.dumps([0])

0 commit comments

Comments
 (0)