spark git commit: [SPARK-25522][SQL] Improve type promotion for input arguments of elementAt function

2018-09-27 Thread wenchen
Repository: spark Updated Branches: refs/heads/branch-2.4 53eb85854 -> 3c78ea258 [SPARK-25522][SQL] Improve type promotion for input arguments of elementAt function ## What changes were proposed in this pull request? In ElementAt, when first argument is MapType, we should coerce the key type

spark git commit: [SPARK-25522][SQL] Improve type promotion for input arguments of elementAt function

2018-09-27 Thread wenchen
Repository: spark Updated Branches: refs/heads/master ff876137f -> d03e0af80 [SPARK-25522][SQL] Improve type promotion for input arguments of elementAt function ## What changes were proposed in this pull request? In ElementAt, when first argument is MapType, we should coerce the key type and