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

    https://github.com/apache/spark/pull/11836#discussion_r56743709
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/InMemoryCatalog.scala
 ---
    @@ -52,37 +52,34 @@ class InMemoryCatalog extends ExternalCatalog {
         names.filter { funcName => regex.pattern.matcher(funcName).matches() }
       }
     
    -  private def existsFunction(db: String, funcName: String): Boolean = {
    +  private def functionExists(db: String, funcName: String): Boolean = {
         requireDbExists(db)
         catalog(db).functions.contains(funcName)
       }
     
    -  private def existsTable(db: String, table: String): Boolean = {
    -    requireDbExists(db)
    -    catalog(db).tables.contains(table)
    -  }
    -
    -  private def existsPartition(db: String, table: String, spec: 
TablePartitionSpec): Boolean = {
    +  private def partitionExists(db: String, table: String, spec: 
TablePartitionSpec): Boolean = {
    --- End diff --
    
    in the future let's separate renames likes this from large prs.



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