GitHub user kiszk opened a pull request: https://github.com/apache/spark/pull/22033
[SPARK-23935][SQL][followup] mapEntry throw org.codehaus.commons.compiler.CompileException ## What changes were proposed in this pull request? This PR fixes an exception during the compilation of generated code of `mapEntry`. This error occurs since the current code uses `key` type to store a `value` when `key` and `value` types are primitive type. ## How was this patch tested? Added a new test to `CollectionExpressionsSuite` You can merge this pull request into a Git repository by running: $ git pull https://github.com/kiszk/spark SPARK-23935-followup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22033.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 #22033 ---- commit d248773f6a4fd8cf6bf7d1118d1c6c1bd5d35b7b Author: Kazuaki Ishizaki <ishizaki@...> Date: 2018-08-08T01:13:01Z initial commit ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org