cloud-fan commented on a change in pull request #30325:
URL: https://github.com/apache/spark/pull/30325#discussion_r524196258



##########
File path: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala
##########
@@ -1267,9 +1267,19 @@ private[spark] class HiveExternalCatalog(conf: 
SparkConf, hadoopConf: Configurat
     val catalogTable = restoreTableMetadata(rawTable)
 
     val partColNameMap = buildLowerCasePartColNameMap(catalogTable)
+    val hivePredicates = predicates.map {
+      // Avoid Hive metastore stack overflow.

Review comment:
       or put it in where we generate the partition pruning HQL string as 
@maropu suggested.




----------------------------------------------------------------
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]

Reply via email to