Skip to content

Conversation

@eco8848
Copy link
Contributor

@eco8848 eco8848 commented Aug 8, 2025

Purpose of the pull request

This pull request adds DolphinDB datasource.

close #16818

Brief change log

  • Added DolphinDB datasource module.
  • Added DolphinDB documentation.
  • Added DolphinDB constant definitions, connection parameters, data source processors and other components.
  • Added DolphinDB JDBC driver dependency.

Verify this pull request

This change added tests and can be verified as follows:

  • Added DataSourceUtilsTest class to test the datasource utility methods.
  • Added DolphinDBDataSourceChannelFactoryTest class to verify the creation methods of the datasource channel factory.
  • Added DolphinDBDataSourceChannelTest class to validate the creation of the datasource client through the channel.
  • Added DolphinDBDataSourceProcessorTest class to test various functionalities of the datasource processor.

Copy link
Member

@SbloodyS SbloodyS left a 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 @eco8848

@eco8848
Copy link
Contributor Author

eco8848 commented Aug 11, 2025

Please add api-test or e2e-test @eco8848

I found that the Maven configuration issue was causing API-TEST and E2E-TEST to fail during the build process. I've fixed it, please re-run the workflow.


String[] hostSeperator = connectionParams.getAddress().split(Constants.DOUBLE_SLASH);
String[] hostPortArray = hostSeperator[hostSeperator.length - 1].split(Constants.COMMA);
dataSourceParamDTO.setPort(Integer.parseInt(hostPortArray[0].split(Constants.COLON)[1]));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
@eco8848 eco8848 requested a review from SbloodyS August 11, 2025 09:35
@SbloodyS
Copy link
Member

CI failed. And I did not find any relavent api-test or e2e-test code. Did you forget to commit it?

@github-actions github-actions bot added the e2e e2e test label Aug 12, 2025
@eco8848
Copy link
Contributor Author

eco8848 commented Aug 12, 2025

CI failed. And I did not find any relavent api-test or e2e-test code. Did you forget to commit it?

Thanks for reviewing. I realize I forgot to include the e2e test file for this change. I’ve just pushed the missing file to the same branch.

@github-actions github-actions bot added the CI&CD label Aug 12, 2025
@eco8848 eco8848 requested a review from SbloodyS August 12, 2025 07:29
… by attempting to interact with hidden database input field
@sonarqubecloud
Copy link

@eco8848 eco8848 requested a review from SbloodyS August 19, 2025 06:00
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SbloodyS SbloodyS added this to the 3.3.1 milestone Aug 20, 2025
@sonarqubecloud
Copy link

@SbloodyS SbloodyS merged commit 3dd1720 into apache:dev Aug 20, 2025
73 of 75 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Aug 20, 2025

Awesome work, congrats on your first merged pull request!

@SbloodyS SbloodyS added the DSIP label Aug 22, 2025
davidzollo pushed a commit to davidzollo/dolphinscheduler that referenced this pull request Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DSIP-83][Feature] Add DolphinDB datasource support to DolphinScheduler

4 participants