From 02b08a4d5c6b0e55f7c4c034f58edab53c233720 Mon Sep 17 00:00:00 2001 From: Gatefixer <313497061+lancedb-gatefixer[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2026 04:09:50 +0000 Subject: [PATCH] test(python): cover vector index prewarming by name --- python/python/tests/test_index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/python/tests/test_index.py b/python/python/tests/test_index.py index 1cf2c733c..cde3c5895 100644 --- a/python/python/tests/test_index.py +++ b/python/python/tests/test_index.py @@ -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"