-
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
[Feature][Catalog] Doris Catalog #5175
Conversation
a769800
to
5de9966
Compare
create {
distribution-columns = "id"
distribution-buckect = "10"
properties {
replication_allocation = "tag.location.default: 1"
}
} I think we need to basically unify the definition methods of different connectors for table create. Can you implement Doris's automatic table create function definition according to the table create template provided by StarRocks https://seatunnel.apache.org/docs/2.3.3/connector-v2/sink/StarRocks#save_mode_create_template ? Please. |
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.java
Outdated
Show resolved
Hide resolved
Could you add some e2e for this new feature? Please. |
34acbbe
to
8619be2
Compare
done |
...onnector-doris/src/main/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalog.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-e2e/src/test/java/org/apache/seatunnel/e2e/connector/doris/DorisCatalogIT.java
Outdated
Show resolved
Hide resolved
Please fix code style by run |
done |
0d6f079
to
d367a2b
Compare
...ris/src/test/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalogFactoryTest.java
Outdated
Show resolved
Hide resolved
...ctor-doris/src/test/java/org/apache/seatunnel/connectors/doris/catalog/DorisCatalogTest.java
Outdated
Show resolved
Hide resolved
Is there any latest progress on this PR? |
3a07bb2
to
c1b3a6b
Compare
968eafc
to
fe56ae7
Compare
fe56ae7
to
a0d9d21
Compare
a0d9d21
to
41258ae
Compare
41258ae
to
d5e80c4
Compare
* doris catalog * fix create table * add license header * add license header * code style * do not exec create table when save mode is null * do not exec create table when save mode is not equals to KEEP_SCHEMA_AND_DATA * update create table * add doris catalog e2e test * add license header * add license header and fix style * static string sql template * spotless check * resolve api change * disable ut * merge test * code style * test jdbc driver * add be alive check * mod container * fix container * support drop table and fix create template * resolve conflicts --------- Co-authored-by: gnehil <adamlee489@gamil.com> Co-authored-by: gnehil <gnehil489@github>
* doris catalog * fix create table * add license header * add license header * code style * do not exec create table when save mode is null * do not exec create table when save mode is not equals to KEEP_SCHEMA_AND_DATA * update create table * add doris catalog e2e test * add license header * add license header and fix style * static string sql template * spotless check * resolve api change * disable ut * merge test * code style * test jdbc driver * add be alive check * mod container * fix container * support drop table and fix create template * resolve conflicts --------- Co-authored-by: gnehil <adamlee489@gamil.com> Co-authored-by: gnehil <gnehil489@github>
* doris catalog * fix create table * add license header * add license header * code style * do not exec create table when save mode is null * do not exec create table when save mode is not equals to KEEP_SCHEMA_AND_DATA * update create table * add doris catalog e2e test * add license header * add license header and fix style * static string sql template * spotless check * resolve api change * disable ut * merge test * code style * test jdbc driver * add be alive check * mod container * fix container * support drop table and fix create template * resolve conflicts --------- Co-authored-by: gnehil <adamlee489@gamil.com> Co-authored-by: gnehil <gnehil489@github>
Purpose of this pull request
config example:
create table action is only triggered when savemode = "KEEP_SCHEMA_AND_DATA"
Check list
New License Guide
release-note
.