viirya commented on code in PR #42777:
URL: https://github.com/apache/spark/pull/42777#discussion_r1313498211


##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala:
##########
@@ -1290,6 +1291,7 @@ private[spark] class HiveExternalCatalog(conf: SparkConf, 
hadoopConf: Configurat
         res.filter(p => isPartialPartitionSpec(spec, 
toMetaStorePartitionSpec(p.spec)))
       case _ => res
     }
+    parts.map(restorePartitionMetadata(_, catalogTable))

Review Comment:
   BTW, `restorePartitionMetadata ` is added by SPARK-21213. From its 
description, seems at the moment, the patch proposed to analyze table partition 
to collect partition-level statistics.



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

Reply via email to