mirror of
https://github.com/lancedb/lancedb.git
synced 2026-08-18 12:08:35 +00:00
test(python): cover vector index prewarming by name
This commit is contained in:
@@ -364,6 +364,8 @@ async def test_create_vector_index(some_table: AsyncTable):
|
||||
assert indices[0].columns == ["vector"]
|
||||
assert indices[0].name == "vector_idx"
|
||||
|
||||
await some_table.prewarm_index(indices[0].name)
|
||||
|
||||
stats = await some_table.index_stats("vector_idx")
|
||||
assert stats.index_type == "IVF_PQ"
|
||||
assert stats.distance_type == "l2"
|
||||
|
||||
Reference in New Issue
Block a user