Github user nsyca commented on a diff in the pull request:
https://github.com/apache/spark/pull/16168#discussion_r91102867
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
---
@@ -557,9 +557,12 @@ class SessionCatalog(
* If the relation is a view, the relation will be wrapped in a
[[SubqueryAlias]] which will
* track the name of the view.
*/
- def lookupRelation(name: TableIdentifier, alias: Option[String] = None):
LogicalPlan = {
+ def lookupRelation(
+ name: TableIdentifier,
+ alias: Option[String] = None,
+ databaseHint: Option[String] = None): LogicalPlan = {
--- End diff --
I don't think the variable `databaseHint` is properly named. It is simply
an optional database name passed into this function. Should it be named
`databaseName`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]