[FLINK-33800][JDBC/Connector] Allow passing parameters to database via jdbc url#83
[FLINK-33800][JDBC/Connector] Allow passing parameters to database via jdbc url#83snuyanzin wants to merge 2 commits intoapache:mainfrom
Conversation
|
Hi @snuyanzin, Saying that and being one catalog for db, won't be better to add a new option like url (as table have), and deprecate this two. |
|
this is also related with this: #74 |
|
This PR is being marked as stale since it has not had any activity in the last 90 days. If you are having difficulty finding a reviewer, please reach out to the If this PR is no longer valid or desired, please feel free to close it. |
|
This PR has been closed since it has not had any activity in 120 days. |
The idea is pretty straightforward: from one side there is a jdbc url which is normally is provided by most of the dbs providers to connect to.
From the other side for some, probably historical reasons, there a separate property for default database which is used for default url.
To not break former behaviour it is possible to specify either database in jdbcurl or database with extra parameters only if database is same as ifor a dedicated property for default database.
In fact I tend to think to mark it as a deprecated since all the info could be extracted from jdbc url
so after this PR it is possible to have something like
or similar thing for create table/view