Skip to content

Commit

Permalink
Avoid deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored and korowa committed Aug 21, 2024
1 parent 6cf4bf1 commit 7c046cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl FileGroupPartitioner {
},
)
.flatten()
.group_by(|(partition_idx, _)| *partition_idx)
.chunk_by(|(partition_idx, _)| *partition_idx)
.into_iter()
.map(|(_, group)| group.map(|(_, vals)| vals).collect_vec())
.collect_vec();
Expand Down

0 comments on commit 7c046cf

Please sign in to comment.