[ 
https://issues.apache.org/jira/browse/SPARK-43338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720794#comment-17720794
 ] 

melin commented on SPARK-43338:
-------------------------------

You understand a big feature. Only one hms is accessed in a sparksession. I 
just want spark_catalog to be modified. For example, if you have two hadoop 
clusters, there should be two hms. Metadata management platform (similar to 
databricks unity catalog), the acquisition of the HMS metadata, in order to 
distinguish the uniqueness, need to add catalogName (tableid: catalogName. 
SchemaName. TableName). When spark accesses hive tables, it is consistent with 
the catalogname of tableid instead of spark_catalog。

 

> Support  modify the SESSION_CATALOG_NAME value
> ----------------------------------------------
>
>                 Key: SPARK-43338
>                 URL: https://issues.apache.org/jira/browse/SPARK-43338
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: melin
>            Priority: Major
>
> {code:java}
> private[sql] object CatalogManager {
> val SESSION_CATALOG_NAME: String = "spark_catalog"
> }{code}
>  
> The SESSION_CATALOG_NAME value cannot be modified。
> If multiple Hive Metastores exist, the platform manages multiple hms metadata 
> and classifies them by catalogName. A different catalog name is required
> [~yao] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to