Skip to content

Commit 19a2401

Browse files
authored
Don't refresh table in the for-loop (#874)
1 parent 254a701 commit 19a2401

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/integration/test_writes/test_partitioned_writes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ def test_query_filter_appended_null_partitioned(
170170
assert tbl.format_version == format_version, f"Expected v{format_version}, got: v{tbl.format_version}"
171171
df = spark.table(identifier)
172172
for col in TEST_DATA_WITH_NULL.keys():
173-
df = spark.table(identifier)
174173
assert df.where(f"{col} is not null").count() == 6, f"Expected 6 non-null rows for {col}"
175174
assert df.where(f"{col} is null").count() == 3, f"Expected 3 null rows for {col}"
176175
# expecting 6 files: first append with [A], [B], [C], second append with [A, A], [B, B], [C, C]

0 commit comments

Comments
 (0)