Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15054#discussion_r79540494
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
 ---
    @@ -282,6 +271,24 @@ class SessionCatalog(
       }
     
       /**
    +   * Retrieve the metadata of an existing temporary view or permanent 
table/view.
    +   * If the temporary view does not exist, tries to get the metadata an 
existing permanent
    +   * table/view. If no database is specified, assume the table/view is in 
the current database.
    +   * If the specified table/view is not found in the database then a 
[[NoSuchTableException]] is
    +   * thrown.
    +   */
    +  def getTempViewOrPermanentTableMetadata(name: TableIdentifier): 
CatalogTable = synchronized {
    --- End diff --
    
    it should just take a string.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to