[ 
https://issues.apache.org/jira/browse/SPARK-43338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

melin updated SPARK-43338:
--------------------------
    Description: 
{code:java}
private[sql] object CatalogManager {
val SESSION_CATALOG_NAME: String = "spark_catalog"
}{code}
 
The SESSION_CATALOG_NAME value cannot be modified。

If the platform supports hive and spark sql, the metadata catalog name is 
hive_metastore. It's more appropriate. The user directly copies the table name 
and brings the hive_metastore catalog. In this case, the default spark catalog 
name needs to be changed。

 

!image-2023-12-27-09-55-55-693.png!

[~fanjia] 
 

  was:
{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] 


> 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
>         Attachments: image-2023-12-27-09-55-55-693.png
>
>
> {code:java}
> private[sql] object CatalogManager {
> val SESSION_CATALOG_NAME: String = "spark_catalog"
> }{code}
>  
> The SESSION_CATALOG_NAME value cannot be modified。
> If the platform supports hive and spark sql, the metadata catalog name is 
> hive_metastore. It's more appropriate. The user directly copies the table 
> name and brings the hive_metastore catalog. In this case, the default spark 
> catalog name needs to be changed。
>  
> !image-2023-12-27-09-55-55-693.png!
> [~fanjia] 
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to