-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add jdbc connector e2e test #2321
Conversation
#2255 . License it's ok. I will take a look when my free. |
while (resultSet.next()) { | ||
result.add(resultSet.getString("name")); | ||
} | ||
Assertions.assertFalse(result.isEmpty()); |
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.
Only check is not isEmpty that is not accurate.
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.
Yes, we need to do data quality check.
@zhangyuge1 Thank you for your contribution. At present, only batch tests are covered, Streaming Mode and Exactly-Once Streaming Mode are not covered。Can you add these two test scenarios? And abstract public methods for use by mysql, pgsql, and dmsql . . . |
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.
LGTM, this PR only test the jdbc connector can work in batch mode, but don't check the data quality, this can be implemented in another PR.
* add jdbc e2e test
Purpose of this pull request
Check list
New License Guide