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

    https://github.com/apache/spark/pull/16233#discussion_r95314477
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala ---
    @@ -358,6 +362,17 @@ private[spark] class HiveExternalCatalog(conf: 
SparkConf, hadoopConf: Configurat
       }
     
       /**
    +   * This method puts view default database into a map, which can be used 
as table properties
    +   * later. The view default database is used in view resolution, and that 
is not supported by
    +   * Hive metastore.
    +   */
    +  private def viewParamToTableProps(table: CatalogTable): 
mutable.Map[String, String] = {
    --- End diff --
    
    Why using `mutable.Map[String, String]`? At most one map, right?


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