jorisvandenbossche commented on code in PR #14867: URL: https://github.com/apache/arrow/pull/14867#discussion_r1066738216
########## python/pyarrow/tests/test_table.py: ########## @@ -2024,6 +2024,18 @@ def sorted_by_keys(d): "values_count": [1] } + table = pa.table({ + 'keys': ['a', 'b', 'a', 'b', 'a', 'b'], + 'values': range(6)}) + table_with_chunks = pa.Table.from_batches( + table.to_batches(max_chunksize=3)) + r = table_with_chunks.group_by('keys').aggregate([('values', 'sum')]) + print(r) Review Comment: leftover print ########## python/pyarrow/table.pxi: ########## @@ -5383,11 +5383,9 @@ list[tuple(str, str, FunctionOptions)] for col_name, (aggr_name, _) in zip(columns, group_by_aggrs) ] + self.keys - result = _pc()._group_by( + agg_tables = [] Review Comment: Left-over variable of the previous iteration? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org