-
Notifications
You must be signed in to change notification settings - Fork 5k
Use AdHoc datasource client in sqlTask #14631
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
Conversation
b732318 to
9b0250d
Compare
Codecov Report
@@ Coverage Diff @@
## dev #14631 +/- ##
============================================
+ Coverage 38.52% 38.54% +0.02%
- Complexity 4579 4583 +4
============================================
Files 1260 1279 +19
Lines 43814 43781 -33
Branches 4841 4836 -5
============================================
- Hits 16878 16876 -2
+ Misses 25061 25032 -29
+ Partials 1875 1873 -2
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
9b0250d to
f9f8ed9
Compare
|
related: #14626 and #14193, cc @zhuangchong |
010962d to
4adec54
Compare
694cf4a to
9d8ecf0
Compare
9ea58c4 to
ae25da7
Compare
caishunfeng
left a comment
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 overall 👍
ae25da7 to
f9cd0d6
Compare
f9cd0d6 to
08561fe
Compare
|
SonarCloud Quality Gate failed.
|
caishunfeng
left a comment
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.
+1
* Use AdHoc datasource client in sqlTask * Add method in DataSourceChannel to create PooledDataSourceClient and AdHocDataSourceClient (cherry picked from commit 4aab0b2)










Purpose of the pull request
At before discuss, we are plan to remove datasource pool in SQL task.
This PR will introduce AdHocDataSourceClient, which will not use connection pool, and keep the PooledDataSourceClient which might be useful in some query task.
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md