-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[Improvement-16679][datasource-plugin] Add MariaDB datasource #17205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add api-test
or e2e-test
@afriday1015
String address = connectionParams.getAddress(); | ||
String[] hostSeperator = address.split(Constants.DOUBLE_SLASH); | ||
String[] hostPortArray = hostSeperator[hostSeperator.length - 1].split(Constants.COMMA); | ||
mariadbDatasourceParamDTO.setPort(Integer.parseInt(hostPortArray[0].split(Constants.COLON)[1])); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException Note
Thank you for reviewing the code. |
|
Purpose of the pull request
close #16679
Brief change log
Verify this pull request
This change added tests and can be verified as follows:
Pull Request Notice
Pull Request Notice
If your pull request contains incompatible change, you should also add it to
docs/docs/en/guide/upgrade/incompatible.md