pan3793 commented on code in PR #52355:
URL: https://github.com/apache/spark/pull/52355#discussion_r2354414353
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala:
##########
@@ -763,11 +763,17 @@ object CatalogTable {
}
}
- def readLargeTableProp(props: Map[String, String], key: String):
Option[String] = {
+ def readLargeTableProp(
+ props: Map[String, String],
+ key: String,
+ failIfNumPartsMissing: Boolean = true): Option[String] = {
Review Comment:
Before SPARK-33812, it performs `true` for the DS table on schema reading,
but `false` for the Hive SerDe table, I'm trying to restore such behavior.
SPARK-33812 introduces another case - ColumStats histogram, when `numParts`
is missing, it fails here and
https://github.com/apache/spark/blob/f2e9c680ed398b3797f7293c6f50979c457e9e37/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala#L1009-L1032
--
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]