imback82 commented on a change in pull request #26214: [SPARK-29558][SQL]
ResolveTables and ResolveRelations should be order-insensitive
URL: https://github.com/apache/spark/pull/26214#discussion_r338248045
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
##########
@@ -718,49 +718,41 @@ class SessionCatalog(
}
}
- /**
- * Return a [[LogicalPlan]] that represents the given table or view.
- *
- * If a database is specified in `name`, this will return the table/view
from that database.
- * If no database is specified, this will first attempt to return a
temporary view with
- * the same name, then, if that does not exist, return the table/view from
the current database.
- *
- * Note that, the global temp view database is also valid here, this will
return the global temp
- * view matching the given name.
- *
- * If the relation is a view, we generate a [[View]] operator from the view
description, and
- * wrap the logical plan in a [[SubqueryAlias]] which will track the name of
the view.
- * [[SubqueryAlias]] will also keep track of the name and database(optional)
of the table/view
Review comment:
some of these comments are useful?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]