-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### What changes were proposed in this pull request? Adding support for `groupBy` and `groupByKey`. This patch adds a new RDD mapPartitions implementation that will create tuples and is then in turn used to run `groupBy` on the DataFrame efficiently. On a high-level the execution flow is as follows: ```python df.groupBy(bin_col1).applyInPandas(agg_all_values_for_a_key).mapInArrow(merge_k_v_to_tuple) ``` Once `applyInArrow` is available, we can switch the implementation to that. ### How was this patch tested? Added new UT.
- Loading branch information
1 parent
1c5f066
commit b8ff488
Showing
3 changed files
with
180 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters