Environment
Delta-rs version:
0.17.0
Binding:
python-v0.15.0
Environment: MacOS
Bug
What happened:
After I executed the vacuum function, from 0 to 99 json files were deleted from _delta_log directory .
Later when i re-ran dt = DeltaTable(local_path), I get the error in the issue title
What you expected to happen:
import local table successfully
How to reproduce it:
as What happend
More details:

jupyter notebook code
import deltalake
import duckdb
import pyarrow
import pandas as pd
local_price_path = '/Users/watsy0007/resources/test_table'
price_table = deltalake.DeltaTable(local_price_path)
price_ds = price_table.to_pyarrow_dataset()
## compact and vacuum
price_table.optimize.compact()
price_table.vacuum()
and the last operation json as follow
Details
```json
{"remove":{"path":"month=202312/part-00001-cc59364c-2097-4f4c-860c-6e2b97c1573e-c000.zstd.parquet","dataChange":false,"deletionTimestamp":1703810161493,"partitionValues":{"month":"202312"},"size":2521730}}
{"remove":{"path":"month=202312/141-d770dcc2-8008-4991-a19f-1a6a39f8f96f-0.parquet","dataChange":false,"deletionTimestamp":1703810161493,"partitionValues":{"month":"202312"},"size":178963}}
{"add":{"path":"month=202312/part-00001-a2d5ee29-980a-44e1-85b2-3fcfd73c8923-c000.zstd.parquet","partitionValues":{"month":"202312"},"size":2630580,"modificationTime":1703810162294,"dataChange":false,"stats":"{\"numRecords\":188485,\"minValues\":{\"close\":\"0.00010004621161297134\",\"unique_id\":\"0chain\",\"price_dt\":\"2023-12-01T00:00:00Z\",\"source\":\"coingecko\",\"price\":3.5876668360643876e-17,\"created_at\":\"2023-12-01T00:01:03Z\",\"date_ts\":1701388800,\"vs_currency\":\"usd\",\"coin_id\":0},\"maxValues\":{\"price_dt\":\"2023-12-28T23:53:46Z\",\"created_at\":\"2023-12-29T00:35:51.812Z\",\"source\":\"exchangerate\",\"vs_currency\":\"usd\",\"close\":\"997.2183639248549\",\"coin_id\":2890,\"unique_id\":\"zynecoin\",\"price\":88545.6567696104,\"date_ts\":1703807626},\"nullCount\":{\"close\":0,\"coin_id\":0,\"created_at\":0,\"vs_currency\":0,\"price\":0,\"source\":0,\"unique_id\":0,\"date_ts\":0,\"price_dt\":0}}","tags":null,"deletionVector":null,"baseRowId":null,"defaultRowCommitVersion":null,"clusteringProvider":null}}
{"commitInfo":{"timestamp":1703810162349,"operation":"OPTIMIZE","operationParameters":{"targetSize":"104857600"},"readVersion":141,"operationMetrics":{"filesAdded":{"avg":2630580.0,"max":2630580,"min":2630580,"totalFiles":1,"totalSize":2630580},"filesRemoved":{"avg":1350346.5,"max":2521730,"min":178963,"totalFiles":2,"totalSize":2700693},"numBatches":24,"numFilesAdded":1,"numFilesRemoved":2,"partitionsOptimized":0,"preserveInsertionOrder":true,"totalConsideredFiles":2,"totalFilesSkipped":0},"clientVersion":"delta-rs.0.17.0"}}
```
Environment
Delta-rs version:
0.17.0
Binding:
python-v0.15.0
Environment: MacOS
Bug
What happened:
After I executed the
vacuumfunction, from 0 to 99 json files were deleted from_delta_logdirectory .Later when i re-ran
dt = DeltaTable(local_path), I get the error in the issue titleWhat you expected to happen:
import local table successfully
How to reproduce it:
as What happend
More details:

jupyter notebook code
and the last operation json as follow
Details
```json {"remove":{"path":"month=202312/part-00001-cc59364c-2097-4f4c-860c-6e2b97c1573e-c000.zstd.parquet","dataChange":false,"deletionTimestamp":1703810161493,"partitionValues":{"month":"202312"},"size":2521730}} {"remove":{"path":"month=202312/141-d770dcc2-8008-4991-a19f-1a6a39f8f96f-0.parquet","dataChange":false,"deletionTimestamp":1703810161493,"partitionValues":{"month":"202312"},"size":178963}} {"add":{"path":"month=202312/part-00001-a2d5ee29-980a-44e1-85b2-3fcfd73c8923-c000.zstd.parquet","partitionValues":{"month":"202312"},"size":2630580,"modificationTime":1703810162294,"dataChange":false,"stats":"{\"numRecords\":188485,\"minValues\":{\"close\":\"0.00010004621161297134\",\"unique_id\":\"0chain\",\"price_dt\":\"2023-12-01T00:00:00Z\",\"source\":\"coingecko\",\"price\":3.5876668360643876e-17,\"created_at\":\"2023-12-01T00:01:03Z\",\"date_ts\":1701388800,\"vs_currency\":\"usd\",\"coin_id\":0},\"maxValues\":{\"price_dt\":\"2023-12-28T23:53:46Z\",\"created_at\":\"2023-12-29T00:35:51.812Z\",\"source\":\"exchangerate\",\"vs_currency\":\"usd\",\"close\":\"997.2183639248549\",\"coin_id\":2890,\"unique_id\":\"zynecoin\",\"price\":88545.6567696104,\"date_ts\":1703807626},\"nullCount\":{\"close\":0,\"coin_id\":0,\"created_at\":0,\"vs_currency\":0,\"price\":0,\"source\":0,\"unique_id\":0,\"date_ts\":0,\"price_dt\":0}}","tags":null,"deletionVector":null,"baseRowId":null,"defaultRowCommitVersion":null,"clusteringProvider":null}} {"commitInfo":{"timestamp":1703810162349,"operation":"OPTIMIZE","operationParameters":{"targetSize":"104857600"},"readVersion":141,"operationMetrics":{"filesAdded":{"avg":2630580.0,"max":2630580,"min":2630580,"totalFiles":1,"totalSize":2630580},"filesRemoved":{"avg":1350346.5,"max":2521730,"min":178963,"totalFiles":2,"totalSize":2700693},"numBatches":24,"numFilesAdded":1,"numFilesRemoved":2,"partitionsOptimized":0,"preserveInsertionOrder":true,"totalConsideredFiles":2,"totalFilesSkipped":0},"clientVersion":"delta-rs.0.17.0"}} ```