-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature][Connector-v2] Support multi starrocks source #8789
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
[Feature][Connector-v2] Support multi starrocks source #8789
Conversation
|
|
||
| @DisabledOnContainer( | ||
| value = {}, | ||
| type = {EngineType.SPARK, EngineType.FLINK}, |
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.
| type = {EngineType.SPARK, EngineType.FLINK}, |
Currently supported
| if (null == host) { | ||
| throw new StarRocksConnectorException( | ||
| CommonErrorCodeDeprecated.ILLEGAL_ARGUMENT, | ||
| CommonErrorCode.ILLEGAL_ARGUMENT, |
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 do not directly use common error code, we should create it in
seatunnel/seatunnel-common/src/main/java/org/apache/seatunnel/common/exception/CommonError.java
Line 58 in c1b2675
| public class CommonError { |
| sink { | ||
| Assert { | ||
| rules { | ||
| table-names = ["e2e_table_source", "e2e_table_source_3"] |
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.
| public class StarRocksQueryPlanReadClient { | ||
| private RetryUtils.RetryMaterial retryMaterial; | ||
| private SourceConfig sourceConfig; | ||
| private SeaTunnelRowType seaTunnelRowType; |
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.
| private SeaTunnelRowType seaTunnelRowType; |
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.
Done.
| QUEST_QUERY_PLAN_FAILED("STARROCKS-06", "Request query Plan failed"), | ||
| READER_ARROW_DATA_FAILED("STARROCKS-07", "Read Arrow data failed"); | ||
| READER_ARROW_DATA_FAILED("STARROCKS-07", "Read Arrow data failed"), | ||
| HOST_IS_NULL("STARROCKS-07", "Read Arrow data failed"); |
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.
| HOST_IS_NULL("STARROCKS-07", "Read Arrow data failed"); | |
| HOST_IS_NULL("STARROCKS-08", "Read Arrow data failed"); |
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.
Done.
Hisoka-X
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 if ci passes. Thanks @xiaochen-zhou
Purpose of this pull request
Support multi starrocks source
Does this PR introduce any user-facing change?
Yes
How was this patch tested?
Add new tests
Check list
New License Guide
release-note.