wecharyu commented on code in PR #9932:
URL: https://github.com/apache/hudi/pull/9932#discussion_r1375962725


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/catalyst/catalog/HoodieCatalogTable.scala:
##########
@@ -335,6 +335,11 @@ class HoodieCatalogTable(val spark: SparkSession, var 
table: CatalogTable) exten
       }.partition(f => partitionFields.contains(f.name))
       StructType(dataFields ++ partFields)
     })
+    catch {
+      case cause: Throwable =>
+        logWarning("Failed to load table schema from meta client.", cause)

Review Comment:
   Since this function returns `Option` value, and we log the details of 
exception here, so I think it's OK to handle for all exceptions.



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

Reply via email to