goutamadwant opened a new pull request, #11794:
URL: https://github.com/apache/gravitino/pull/11794

   ### What changes were proposed in this pull request?
   
   This PR adds a generic read-only JDBC catalog provider named `jdbc-generic`.
   
   The new catalog uses standard `DatabaseMetaData` calls to discover schemas, 
tables, views, columns, primary keys, and unique indexes. It also adds 
conservative JDBC type mapping for common standard types, with unknown or 
vendor-specific types preserved as Gravitino `ExternalType`.
   
   It includes metadata filter options for catalog pattern, schema pattern, 
table types, included schemas, and excluded schemas, and wires the new module 
into the Gradle settings and catalog distribution packaging.
   
   ### Why are the changes needed?
   
   Fix: #11453
   
   This provides a baseline JDBC metadata catalog for databases that do not yet 
have a dedicated Gravitino JDBC catalog implementation.
   
   ### Does this PR introduce any user-facing change?
   
   Yes. Users can configure the new `jdbc-generic` catalog for read-only 
metadata discovery through JDBC.
   
   Write and DDL operations are intentionally unsupported in this catalog.
   
   ### How was this patch tested?
   
   - `./gradlew :catalogs:catalog-jdbc-generic:spotlessApply -PskipITs`
   - `./gradlew :catalogs:catalog-jdbc-generic:test -PskipITs`
   - `./gradlew :catalogs:catalog-jdbc-generic:build -PskipITs`
   - `./gradlew :catalogs:catalog-jdbc-generic:copyLibAndConfig -PskipITs`


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