You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by "zhoujinsong (via GitHub)" <gi...@apache.org> on 2024/07/15 06:39:28 UTC
[PR] [AMORO-3035] Support setting thrift client pool configs from url [amoro]
zhoujinsong opened a new pull request, #3036:
URL: https://github.com/apache/amoro/pull/3036
<!--
Thanks for sending a pull request!
Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://amoro.apache.org/how-to-contribute/
2. If the PR is related to an issue in https://github.com/apache/amoro/issues, add '[AMORO-XXXX]' in your PR title, e.g., '[AMORO-XXXX] Your PR title ...'.
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][AMORO-XXXX] Your PR title ...'.
-->
## Why are the changes needed?
<!--
Please clarify why the changes are needed. For instance,
1. If you add a feature, you can talk about its use case.
2. If you fix a bug, you can clarify why it is a bug.
3. Use Fix/Resolve/Close #{ISSUE_NUMBER} to link this PR to its related issue
-->
Close #3035.
## Brief change log
<!--
Clearly describe the changes made in modules, classes, methods, etc.
-->
- Support setting thrift client pool configs from the url.
- Polish some codes.
## How was this patch tested?
- [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] Run test locally before making a pull request
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AMORO-3035] Support setting thrift client pool configs from url [amoro]
Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong merged PR #3036:
URL: https://github.com/apache/amoro/pull/3036
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AMORO-3035] Support setting thrift client pool configs from url [amoro]
Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong commented on PR #3036:
URL: https://github.com/apache/amoro/pull/3036#issuecomment-2244156057
Thanks for the review @czy006
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AMORO-3035] Support setting thrift client pool configs from url [amoro]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #3036:
URL: https://github.com/apache/amoro/pull/3036#issuecomment-2227879254
## [Codecov](https://app.codecov.io/gh/apache/amoro/pull/3036?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
Attention: Patch coverage is `65.57377%` with `21 lines` in your changes missing coverage. Please review.
> Project coverage is 27.63%. Comparing base [(`f1fbfa1`)](https://app.codecov.io/gh/apache/amoro/commit/f1fbfa1e4de5b22b92eb9e0fbcce348dea0931ee?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`d1da799`)](https://app.codecov.io/gh/apache/amoro/commit/d1da7993dfb32fe2986f3c98ef2b341813d28148?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
> Report is 2 commits behind head on master.
| [Files](https://app.codecov.io/gh/apache/amoro/pull/3036?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [...java/org/apache/amoro/client/ThriftClientPool.java](https://app.codecov.io/gh/apache/amoro/pull/3036?src=pr&el=tree&filepath=amoro-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Famoro%2Fclient%2FThriftClientPool.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YW1vcm8tY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvYW1vcm8vY2xpZW50L1RocmlmdENsaWVudFBvb2wuamF2YQ==) | 30.43% | [14 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/amoro/pull/3036?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...org/apache/amoro/client/OptimizingClientPools.java](https://app.codecov.io/gh/apache/amoro/pull/3036?src=pr&el=tree&filepath=amoro-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Famoro%2Fclient%2FOptimizingClientPools.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YW1vcm8tY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvYW1vcm8vY2xpZW50L09wdGltaXppbmdDbGllbnRQb29scy5qYXZh) | 0.00% | [3 Missing :warning: ](https://app.codecov.io/gh/apache/amoro/pull/3036?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [.../main/java/org/apache/amoro/client/PoolConfig.java](https://app.codecov.io/gh/apache/amoro/pull/3036?src=pr&el=tree&filepath=amoro-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Famoro%2Fclient%2FPoolConfig.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YW1vcm8tY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvYW1vcm8vY2xpZW50L1Bvb2xDb25maWcuamF2YQ==) | 93.75% | [2 Missing :warning: ](https://app.codecov.io/gh/apache/amoro/pull/3036?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
> :exclamation: There is a different number of reports uploaded between BASE (f1fbfa1) and HEAD (d1da799). Click for more details.
>
> <details><summary>HEAD has 1 upload less than BASE</summary>
>
>| Flag | BASE (f1fbfa1) | HEAD (d1da799) |
>|------|------|------|
>|core|1|0|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #3036 +/- ##
============================================
- Coverage 32.80% 27.63% -5.18%
+ Complexity 3827 2494 -1333
============================================
Files 557 360 -197
Lines 46194 37126 -9068
Branches 6116 5371 -745
============================================
- Hits 15152 10258 -4894
+ Misses 29845 25908 -3937
+ Partials 1197 960 -237
```
| [Flag](https://app.codecov.io/gh/apache/amoro/pull/3036/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [core](https://app.codecov.io/gh/apache/amoro/pull/3036/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [trino](https://app.codecov.io/gh/apache/amoro/pull/3036/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `27.63% <65.57%> (?)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/amoro/pull/3036?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org