Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/22544 After thinking more, I'm going it to merge it to 2.4 directly, because: 1. `ImplicitTypeCasts` handles array type but not map type, which looks a bug to me 2. I checked all the implementations of `ImplicitCastInputTypes`, `ElementAt` is the only one that sets a concrete map type as the input type. So this change only affects `ElementAt` 3. the test cases added in this PR iterate all the cases and have a very good converage.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org