From b7c816c919e077c8327802975496ac635f59605a Mon Sep 17 00:00:00 2001 From: qzhu Date: Tue, 12 Mar 2024 16:28:15 -0700 Subject: [PATCH] add index_stats to python api --- python/python/lancedb/remote/table.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/python/lancedb/remote/table.py b/python/python/lancedb/remote/table.py index 22c06fd0..43d5514d 100644 --- a/python/python/lancedb/remote/table.py +++ b/python/python/lancedb/remote/table.py @@ -68,13 +68,12 @@ class RemoteTable(Table): def list_indices(self): """List all the indices on the table""" - print(self._name) resp = self._conn._client.post(f"/v1/table/{self._name}/index/list/") return resp def index_stats(self, index_uuid: str): """List all the indices on the table""" - resp = self._conn._client.post(f"/v1/table/{index_uuid}/index/stats/") + resp = self._conn._client.post(f"/v1/table/{self._name}/index/{index_uuid}/stats/") return resp def create_scalar_index(