diqiu50 opened a new issue, #13208:
URL: https://github.com/apache/gravitino/issues/13208

   ### What would you like to be improved?
   
   The Spark connector resolves the Spark catalog class for a Gravitino catalog 
provider from a fixed table in `CatalogNameAdaptor`. A catalog implementation 
that lives outside the connector (for example a vendor-specific JDBC catalog) 
cannot be plugged in without modifying the connector itself.
   
   ### How should we improve?
   
   Add a `SparkCatalogExtension` SPI discovered through `ServiceLoader`. An 
extension declares the provider it serves and the Spark `TableCatalog` class to 
register. `CatalogNameAdaptor.getCatalogName` consults registered extensions 
first, so an extension jar on the classpath can add support for a new provider 
or override a built-in mapping.


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