flink-sql-gateway
flink-sql-gateway copied to clipboard
JDBC base URL must handle trailing slash ('/')
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
I think this may be the requirement of JDBC catalog