Environment
Delta-rs version: '0.24.0'
Binding: Python
Environment:
- Cloud provider: n/a
- OS: Python 3.9.21 (main, Dec 30 2024, 17:26:39) [GCC 13.3.0] on linux
- Other: n/a
Bug
What happened:
When trying to initialize a DeltaTable with a non-existent (local) path, an exception is raised:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/.../.venv/lib/python3.9/site-packages/deltalake/table.py", line 418, in __init__
self._table = RawDeltaTable(
_internal.TableNotFoundError: no log files
However, the non-existent path provided to the constructor is still created.
What you expected to happen:
I expect that failing to open a table at some path won't create this path.
How to reproduce it:
from deltalake import DeltaTable
from pathlib import Path
non_existent_path = Path("some-non-existent-path")
non_existent_path.exists()
DeltaTable(non_existent_path)
More details: n/a
Environment
Delta-rs version: '0.24.0'
Binding: Python
Environment:
Bug
What happened:
When trying to initialize a
DeltaTablewith a non-existent (local) path, an exception is raised:However, the non-existent path provided to the constructor is still created.
What you expected to happen:
I expect that failing to open a table at some path won't create this path.
How to reproduce it:
More details: n/a