Github user gatorsmile commented on the issue: https://github.com/apache/spark/pull/14531 @rxin Hive does not copy the table comments but it copy the column comments. The [document of Postgres](https://www.postgresql.org/docs/9.1/static/sql-createtable.html) shows it does not do it even for column comments unless you specify `INCLUDING COMMENTS`: > Comments for the copied columns, constraints, and indexes will only be copied if INCLUDING COMMENTS is specified. The default behavior is to exclude comments, resulting in the copied columns and constraints in the new table having no comments. Regarding the temp table, we can do it. I do not know why it is excluded in the original PR. Basically, we need to populate the storage format using the default one. Anyway, let me add it.
--- 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