yaooqinn commented on code in PR #50367:
URL: https://github.com/apache/spark/pull/50367#discussion_r2011643965
##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala:
##########
@@ -271,7 +271,15 @@ private[spark] class HiveExternalCatalog(conf: SparkConf,
hadoopConf: Configurat
ignoreIfExists)
} else {
val tableWithDataSourceProps = tableDefinition.copy(
- schema = hiveCompatibleSchema,
+ schema = hiveCompatibleSchema match {
Review Comment:
nit: can we rename the variable name here, it seems a bit weird that we are
finding incompatible types from a compatible schema
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]