Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/19792 Thanks @ueshin. Yup, +1 for adding some tests. I just wonder if we could have a similar form of error message in type verification. I remember I fixed a similar issue for type verification - https://github.com/apache/spark/pull/18521 (see the links in "Before" and "After"), for example: ``` field c in field b in field a: can not merge type IntegerType and StringType element in array element in array field a: can not merge type IntegerType and StringType ``` Let's make sure there is no performance regression as well (even I was about to make the mistake before).
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org