zhangyue19921010 commented on code in PR #13582:
URL: https://github.com/apache/hudi/pull/13582#discussion_r2218056399
##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/BaseProcedure.scala:
##########
@@ -109,6 +110,14 @@ abstract class BaseProcedure extends Procedure {
)
}
+ protected def getHoodieCatalogTable(tableName: Option[Any]):
HoodieCatalogTable = {
+ tableName.map(
+ t => HoodieCLIUtils.getHoodieCatalogTable(sparkSession,
t.asInstanceOf[String]))
+ .getOrElse(
Review Comment:
do we need to throw exception when getHoodieCatalogTable failed?
--
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]