Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/21732 if we can totally hide the `topLevel` parameter from users, it should be fine. Generally I think the behavior is consistent, now `Option[Product]` is always a struct type column. But we need to improve the implementation to hide the `topLevel`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org