Skip to content

Commit 61f86f2

Browse files
author
Patryk Dudziński
committed
[python][sequencer][tests] test case , removed old comments
1 parent 09434e9 commit 61f86f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

python/pyarrow/tests/test_table.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2978,14 +2978,10 @@ def sorted_by_keys(d):
29782978

29792979
@pytest.mark.acero
29802980
def test_table_group_by_first():
2981-
# "first" is an ordered aggregation -> requires to specify use_threads=False
29822981
table1 = pa.table({'a': [1, 2, 3, 4], 'b': ['a', 'b'] * 2})
29832982
table2 = pa.table({'a': [1, 2, 3, 4], 'b': ['b', 'a'] * 2})
29842983
table = pa.concat_tables([table1, table2])
29852984

2986-
# with pytest.raises(NotImplementedError):
2987-
# table.group_by("b").aggregate([("a", "first")])
2988-
29892985
result = table.group_by("b", use_threads=True).aggregate([("a", "first")])
29902986
expected = pa.table({"b": ["a", "b"], "a_first": [1, 2]})
29912987
assert result.equals(expected)

0 commit comments

Comments
 (0)