Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/13756#discussion_r68420042
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
@@ -441,6 +441,9 @@ private[hive] class HiveMetastoreCatalog(sparkSession:
SparkSession) extends Log
case p: LogicalPlan if p.resolved => p
case p @ CreateHiveTableAsSelectLogicalPlan(table, child,
allowExisting) =>
+ // Ensuring whether no duplicate name is used in table definition
+ checkDuplicates(child.output.map(_.name), s"table definition of
${table.identifier}")
--- End diff --
@rxin @cloud-fan @liancheng @yhuai Do you think we can open an umbrallel
JIRA for the whole community to track whether the same/similar error messages
should be issued by Spark SQL? That could help us find all the potential holes
and improve the code quality?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]