GitHub user icexelloss opened a pull request: https://github.com/apache/spark/pull/20211
[SPARK-23011][PYTHON][SQL] Prepend missing grouping key in groupby apply ## What changes were proposed in this pull request? See https://issues.apache.org/jira/browse/SPARK-23011 ## How was this patch tested? Add more tests in `test_complex_groupby` ## TODO: - [ ] Document the usage in groupby apply You can merge this pull request into a Git repository by running: $ git pull https://github.com/icexelloss/spark SPARK-23011-groupby-apply-group-key Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20211.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20211 ---- commit 51ce6e85953bd39e901fec24dfca45b86f55f939 Author: Li Jin <ice.xelloss@...> Date: 2018-01-02T18:45:34Z wip commit 07f921139e250bd62e79da8475d8d615045d636a Author: Li Jin <ice.xelloss@...> Date: 2018-01-09T20:08:15Z Test working; Need to add docs commit f2822b529293e37f63a4a190b25dbdd018e36ba6 Author: Li Jin <ice.xelloss@...> Date: 2018-01-09T20:55:03Z Add simple doc ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org