GitHub user viirya opened a pull request: https://github.com/apache/spark/pull/19436
[SQL][WIP] Fix FlatMapGroupsInR's child distribution when grouping attributes are empty ## What changes were proposed in this pull request? Looks like `FlatMapGroupsInRExec.requiredChildDistribution` didn't consider empty grouping attributes. WIP: Not quite sure if this will cause problem in R side. Add test to see Jenkins test result. ## How was this patch tested? Added test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/viirya/spark-1 fix-flatmapinr-distribution Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19436.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 #19436 ---- commit 6710141767a2df92898af319bc4ef87f9110f911 Author: Liang-Chi Hsieh <vii...@gmail.com> Date: 2017-10-05T03:08:00Z Fix FlatMapGroupsInR's child distribution when grouping attributes are empty. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org