Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19747#discussion_r151214193
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
---
@@ -507,6 +508,7 @@ private[hive] class HiveClientImpl(
// these properties are still available to the others that share the
same Hive metastore.
// If users explicitly alter these Hive-specific properties through
ALTER TABLE DDL, we respect
// these user-specified values.
+ verifyColumnDataType(table.dataSchema)
--- End diff --
Do it in `HiveExternalCatalog.verifyColumnNames`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]