From 1ed52d4b8ac0e5e33978fe93434c80f05ee23e44 Mon Sep 17 00:00:00 2001 From: Will Jones Date: Wed, 4 Oct 2023 18:03:22 -0700 Subject: [PATCH] Update python/tests/test_delete.py --- python/tests/test_delete.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tests/test_delete.py b/python/tests/test_delete.py index b620653ce7..66fc78c609 100644 --- a/python/tests/test_delete.py +++ b/python/tests/test_delete.py @@ -27,8 +27,8 @@ def test_delete_a_partition(tmp_path: pathlib.Path, sample_data: pa.Table): dt = DeltaTable(tmp_path) old_version = dt.version() - expr = pc.field("bool") != pc.scalar(True) - expected_table = sample_data.filter(expr) + mask = pc.equal(sample_data['bool'], False) + expected_table = sample_data.filter(make) dt.delete(predicate="bool = true")