Skip to content

Commit 01af791

Browse files
committed
fix: update sorting in test_join_deduplicate_multi to include multiple columns
1 parent 0ad1b00 commit 01af791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def test_join_deduplicate_multi():
558558
right = ctx.create_dataframe([[batch]], "r")
559559

560560
joined = left.join(right, on=["a", "b"], deduplicate=True)
561-
joined = joined.sort(column("a"))
561+
joined = joined.sort([column("a"), column("b")])
562562
table = pa.Table.from_batches(joined.collect())
563563

564564
expected = {"a": [1, 2], "b": [3, 4], "r": ["u", "v"], "l": ["x", "y"]}

0 commit comments

Comments
 (0)