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


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -1139,36 +1140,33 @@ class Analyzer(override val catalogManager: 
CatalogManager)
      */
     private def lookupTableOrView(
         identifier: Seq[String],
-        viewOnly: Boolean = false): Option[LogicalPlan] = {
+        viewOnly: Boolean = false): LogicalPlan = {

Review Comment:
   Hmm, so if `lookupTableOrView` cannot resolve the table/view, it directly 
throws an exception now?



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