hdygxsj commented on PR #6543:
URL: https://github.com/apache/gravitino/pull/6543#issuecomment-2729567463

   > @hdygxsj could you summarize the process logic the jdbc URL properties 
when loading catalog and tables? I'm confused by the logic.
   
   When creating a FlinkJdbcCatalog, you need to specify the baseUrl, which 
includes the protocol, IP address, and port. When the FlinkJdbcCatalog creates 
a table, it passes the databaseUrl to the table's options. The databaseUrl 
includes the protocol, IP address, port, and the database where the table is 
located.
   
   The following is the source code of FlinkJdbcCatalog.getTable, which 
demonstrates the relationship between URLs when loading a table and creating a 
catalog.
   
![image](https://github.com/user-attachments/assets/ab14873e-8c57-4096-a798-40644137aa5c)
   


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