zhengruifeng commented on code in PR #47433: URL: https://github.com/apache/spark/pull/47433#discussion_r1685856407
########## sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/CatalogV2Util.scala: ########## @@ -409,7 +409,6 @@ private[sql] object CatalogV2Util { } catch { case _: NoSuchTableException => None case _: NoSuchDatabaseException => None - case _: NoSuchNamespaceException => None Review Comment: to fix `unreachable code` issue ``` [error] /Users/ruifeng.zheng/Dev/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/CatalogV2Util.scala:412:43: unreachable code [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=other-match-analysis, site=org.apache.spark.sql.connector.catalog.CatalogV2Util.loadTable [error] case _: NoSuchNamespaceException => None [error] ^ ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org