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

Jia Fan commented on SPARK-43338:
---------------------------------

`Assign each hms a unique catalogname only so that the meta tableId is unique: 
catalog.database.table.`

 

I think the Datasource V2 can do that. But i didn't verify it.

> 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
> [~fanjia] 



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