Skip to content

Commit

Permalink
Write dimensions at uint64 in Python (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparismorgan authored Oct 18, 2024
1 parent 37f2f9d commit aac14ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/python/src/tiledb/vector_search/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit aac14ed

Please sign in to comment.