feat(python): add namespace/table exist support (#3460)

In the current LanceDB usage implementation, there is no way to check
whether a table or namespace already exists. This PR introduces the
namespace_exists and table_exists methods to determine the existence of
tables and namespaces.

useage like this:
```
# check table exists
db.table_exists(table_id=['xxx'])

# check namespace exists
db.namespace_exists(namespace_id=['xxx'])
```

fixes: #3419

---------

Signed-off-by: farmer <farmerchillax@outlook.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Farmer.Chillax
2026-07-30 15:20:47 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent 77208fd464
commit 48945d0658
4 changed files with 1377 additions and 1068 deletions
+1168 -1066
View File
File diff suppressed because it is too large Load Diff