GitHub user liufengdb opened a pull request: https://github.com/apache/spark/pull/20174
S[SPARK-22951][SQL] aggregate should not produce empty rows if data frame is empty ## What changes were proposed in this pull request? WIP ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) Please review http://spark.apache.org/contributing.html before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/liufengdb/spark fix-duplicate Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20174.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 #20174 ---- commit 89d6b7504239211cd64188be50ae32a199f1ddd8 Author: Feng Liu <fengliu@...> Date: 2018-01-06T07:51:16Z init ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org