an-shi-chi-fan commented on issue #5912:
URL: https://github.com/apache/gravitino/issues/5912#issuecomment-2556729366

   
   
   ## Hive 3 support draft
   Regarding this feature, we had a brief discussion, and here are the results 
of the discussion.ยท
   ### For catalog
   
![image](https://github.com/user-attachments/assets/bc64f730-40a6-4aea-a8b2-d1daf30cf5ac)
   
   Add the catalog-hive3 module in the catalogs module, and then use the 
IsolatedClassLoader from CatalogManager to isolate the classes of hive2 and 
hive3.
   When creating a schema within the module, if it exists, map the catalog to 
Gravitino; if it does not exist, create a catalog.
   We researched the hive3 client, which places the catalog parameter in the 
configuration, so we will map this configuration to the properties attribute 
when creating the catalog.This parameter will be used to configure 
`metastore.catalog.default ` when creating the hive client.
   
   ### For Engine
   #### spark
   just add spark config  `spark.bypass.metastore.catalog.default ` to path the 
config to hive3 catalog provider
   #### trino
   should add hive3 support for trino, but this is already an issue for trino 
support hive3 multi catalog 
![detail](https://github.com/trinodb/trino/pull/21458/files#diff-1e8141bdb26b9d99eb839f74dd1d97943a83b979bdf4dfde567ae0aea352d107
 )
   #### flink
   Passing the catalog parameter to BaseCatalog may take effect, but I'm not 
sure about Flink.
   ### For Ranger
   We plan to support it in the future, but there is no conclusion yet.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to