cloud-fan commented on a change in pull request #30711:
URL: https://github.com/apache/spark/pull/30711#discussion_r540404574
##########
File path:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala
##########
@@ -981,6 +982,19 @@ private[spark] class HiveExternalCatalog(conf: SparkConf,
hadoopConf: Configurat
spec.map { case (k, v) => partCols.find(_.equalsIgnoreCase(k)).get -> v }
}
+ private def isAlreadyExistsException(e: Throwable): Boolean = {
+ val maxDepth = 4
Review comment:
did you test with different hive versions? one idea is to re-throw the
exception in `HiveClientImpl`, and we can test it in `VersionsSuite`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]