forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-39986][PS][DOC] Better example for Co-grouped Map
### What changes were proposed in this pull request? Currently, pandas `asof_merge` is used to explain Co-grouped Map with the pseudo-code below ``` df1.groupby(..).cogroup(df2.groupby(..)).applyInPandas(asof_join) ``` which may mislead users to think `asof_join` is not supported in Pandas API on Spark, but actually it is supported already. The PR proposes to use the unsupported `merge_sorted` instead. ### Why are the changes needed? Better documents. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual test. Closes apache#37412 from xinrong-meng/better_eg. Authored-by: Xinrong Meng <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information
1 parent
e9e8dcb
commit 82dc17c
Showing
2 changed files
with
15 additions
and
15 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