-
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
[Fix][Connector-v2] Fix the sql statement error of create table for doris and starrocks #6679
Conversation
1fca5c5
to
02ddab4
Compare
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.
Thanks @dailai !
...nnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/util/DorisCatalogUtil.java
Outdated
Show resolved
Hide resolved
...nnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/util/DorisCatalogUtil.java
Outdated
Show resolved
Hide resolved
...nnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/util/DorisCatalogUtil.java
Outdated
Show resolved
Hide resolved
...nnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/util/DorisCatalogUtil.java
Outdated
Show resolved
Hide resolved
...-doris/src/test/java/org/apache/seatunnel/connectors/doris/catalog/DorisCreateTableTest.java
Outdated
Show resolved
Hide resolved
...tor-doris/src/test/java/org/apache/seatunnel/connectors/doris/catalog/PreviewActionTest.java
Outdated
Show resolved
Hide resolved
Could you check the starrocks connector too? Thanks |
OK |
…table having no primary key or unique key for doris
02ddab4
to
5d8dd0b
Compare
...nnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/util/DorisCatalogUtil.java
Outdated
Show resolved
Hide resolved
...ain/java/org/apache/seatunnel/connectors/seatunnel/starrocks/sink/StarRocksSaveModeUtil.java
Outdated
Show resolved
Hide resolved
...nnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/util/DorisCatalogUtil.java
Outdated
Show resolved
Hide resolved
c70bbde
to
2ca65f8
Compare
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/sql/template/SqlTemplate.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
...-doris/src/test/java/org/apache/seatunnel/connectors/doris/catalog/DorisCreateTableTest.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/sql/template/SqlTemplate.java
Outdated
Show resolved
Hide resolved
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SaveModePlaceHolderEnum.java
Outdated
Show resolved
Hide resolved
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.
We can just use common error to throw key message.
seatunnel-common/src/main/java/org/apache/seatunnel/common/exception/CommonErrorCode.java
Outdated
Show resolved
Hide resolved
seatunnel-common/src/main/java/org/apache/seatunnel/common/exception/CommonError.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/seatunnel/connectors/seatunnel/common/sql/template/SqlTemplate.java
Outdated
Show resolved
Hide resolved
I see it. It's done |
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 passed. Thanks @dailai !
Just a record: #6354 I add |
…oris and starrocks (apache#6679)
Purpose of this pull request
Fix the sql statement error caused by the source table having no primary key or unique key for doris and startrocks. Link #6646
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.