fix: only use util function to build filesystem (#339)

This commit is contained in:
Will Jones
2023-07-20 10:41:50 -07:00
committed by GitHub
parent 8233c689c3
commit 0cf40c8da3
3 changed files with 6 additions and 5 deletions

View File

@@ -327,6 +327,6 @@ class LanceDBConnection(DBConnection):
name: str
The name of the table.
"""
filesystem, path = pa.fs.FileSystem.from_uri(self.uri)
filesystem, path = fs_from_uri(self.uri)
table_path = os.path.join(path, name + ".lance")
filesystem.delete_dir(table_path)