apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://gravitino.apache.org
Apache License 2.0
1.02k stars 316 forks source link

[Improvement] add jdbc-driver to Paimon JDBC catalog backend configuration #5214

Open FANNG1 opened 3 days ago

FANNG1 commented 3 days ago

What would you like to be improved?

Add jdbc-driver to Paimon JDBC catalog backend configuration like Iceberg JDBC catalog backend. Because the default JDBC service loader will load just initialized once in Gravitino, this may leading load just one Jdbc driver in a specific catalog, will not load the other JDBC driver in other catalogs, we should invoke class.forName(driverClass) explictly.

How should we improve?

No response

FANNG1 commented 3 days ago

cc @caican00 please help to check this when you have time, thanks

caican00 commented 3 days ago

cc @caican00 please help to check this when you have time, thanks

@FANNG1 ok, thanks for pointing out this issue

jerryshao commented 8 hours ago

Hi @caican00 will you do this in 0.7 release?