Github user alexliu68 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3941#discussion_r22744696
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Catalog.scala
 ---
    @@ -28,77 +28,63 @@ trait Catalog {
     
       def caseSensitive: Boolean
     
    -  def tableExists(db: Option[String], tableName: String): Boolean
    +  def tableExists(tableIdentifier: Seq[String]): Boolean
     
       def lookupRelation(
    -    databaseName: Option[String],
    -    tableName: String,
    -    alias: Option[String] = None): LogicalPlan
    +                      tableIdentifier: Seq[String],
    +                      alias: Option[String] = None): LogicalPlan
     
    -  def registerTable(databaseName: Option[String], tableName: String, plan: 
LogicalPlan): Unit
    +  def registerTable(tableIdentifier: Seq[String], plan: LogicalPlan): Unit
     
    -  def unregisterTable(databaseName: Option[String], tableName: String): 
Unit
    +  def unregisterTable(tableIdentifier: Seq[String]): Unit
     
       def unregisterAllTables(): Unit
     
    -  protected def processDatabaseAndTableName(
    -      databaseName: Option[String],
    -      tableName: String): (Option[String], String) = {
    +  protected def processTableIdentifier(tableIdentifier: Seq[String]):
    +      Seq[String] = {
    --- End diff --
    
    agreed


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

Reply via email to