Github user scwf commented on the pull request: https://github.com/apache/spark/pull/3431#issuecomment-68986040 @yhuai if we want to handle it in ```org.apache.spark.sql.hive.MetastoreRelation$SchemaAttribute.toAttribute```, it is hardly to reuse the data type parser of ddl, so maybe we can/should revert the ```HiveMetastoreTypes``` ? Actually i think whether to allow users to define ```struct<>``` is a small point, how about let users can do this and then ```org.apache.spark.sql.hive.MetastoreRelation``` reuse the data type parser of ddl? This two both ok for me, if you have any other concern let me know.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org