Skip to content

Commit

Permalink
fix groupby
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Nov 21, 2024
1 parent 242e79d commit 709d0d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/cudf_polars/cudf_polars/experimental/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ def lower_groupby_node(
ir.options,
*children,
)
child_count = partition_info[children[0]].count
partition_info[gb_pwise] = PartitionInfo(count=child_count)

gb_tree = GroupByTree(
ir.schema,
Expand All @@ -128,6 +130,7 @@ def lower_groupby_node(
ir.options,
gb_pwise,
)
partition_info[gb_tree] = PartitionInfo(count=1)

schema = ir.schema
output_exprs = []
Expand Down

0 comments on commit 709d0d6

Please sign in to comment.