[Python] Do not return Table count for every add operation (#328)

`Table::count()` will be linearly slower with more fragments ingested.
This commit is contained in:
Lei Xu
2023-07-18 17:11:17 -07:00
committed by GitHub
parent 1d343edbd4
commit f09db4a6d6
3 changed files with 4 additions and 12 deletions

View File

@@ -79,7 +79,6 @@ class RemoteTable(Table):
content_type=ARROW_STREAM_CONTENT_TYPE,
)
)
return len(data)
def search(
self, query: Union[VEC, str], vector_column: str = VECTOR_COLUMN_NAME