flink-sql-gateway icon indicating copy to clipboard operation
flink-sql-gateway copied to clipboard

JDBC base URL must handle trailing slash ('/')

Open fpompermaier opened this issue 4 years ago • 1 comments

Currently, when I add a JDBC catalog to the YAML file I need to add the last '/' to the url.

The following config works:

catalogs:
   - name: mypg
     type: jdbc
     default-database: postgres
     username: postgres
     password: mysecretpassword
     base-url: jdbc:postgresql://localhost:5432/

but this doesn't:

     base-url: jdbc:postgresql://localhost:5432

fpompermaier avatar Apr 21 '20 12:04 fpompermaier

I think this may be the requirement of JDBC catalog

godfreyhe avatar Apr 23 '20 12:04 godfreyhe