diff --git a/python/tests/test_checkpoint.py b/python/tests/test_checkpoint.py index 5ce6656463..e28b5ba562 100644 --- a/python/tests/test_checkpoint.py +++ b/python/tests/test_checkpoint.py @@ -468,3 +468,29 @@ def test_checkpoint_with_nullable_false(tmp_path: pathlib.Path): assert checkpoint_path.exists() assert DeltaTable(str(tmp_table_path)).to_pyarrow_table() == data + + +@pytest.mark.pandas +def test_checkpoint_with_multiple_writes(tmp_path: pathlib.Path): + import pandas as pd + + write_deltalake( + tmp_path, + pd.DataFrame( + { + "a": ["a"], + "b": [3], + } + ), + ) + DeltaTable(tmp_path).create_checkpoint() + write_deltalake( + tmp_path, + pd.DataFrame( + { + "a": ["a"], + "b": [100], + } + ), + mode="overwrite", + )