commit | bb10b000c31af0001436f2c3ba99797600fe8a28 | [log] [tgz] |
---|---|---|
author | wudi <676366545@qq.com> | Wed Jan 24 16:22:29 2024 +0800 |
committer | GitHub <noreply@github.com> | Wed Jan 24 16:22:29 2024 +0800 |
tree | 3411a9add3834707bb76f0102e7e37f0267aead2 | |
parent | 11e7369f3308323f619787cd66ef1f80fd353165 [diff] |
[Improve](cdc) Fix default value in cdc (#305) 1. Currently, creating a table does not support default value. 2. Currently, when the schema changes, quotation marks will not be added to the default value.
Flink Doris Connector now support flink version from 1.11 to 1.18.
If you wish to contribute or use a connector from flink 1.13 (and earlier), please use the branch-for-flink-before-1.13
More information about compilation and usage, please visit Flink Doris Connector
You need to copy customer_env.sh.tpl to customer_env.sh before build and you need to configure it before build.
git clone git@github.com:apache/doris-flink-connector.git cd doris-flink-connector/flink-doris-connector ./build.sh
You need to install the google-java-format plugin. Spotless together with google-java-format is used to format the codes.
It is recommended to automatically format your code by applying the following settings:
For earlier IntelliJ IDEA versions, the step 4 to 7 will be changed as follows.
.*\.java
to avoid formatting other file types. Then the whole project could be formatted by command mvn spotless:apply
.Checkstyle is used to enforce static coding guidelines.
tools/maven/checkstyle.xml
which is located within your cloned repository.checkstyle.suppressions.file
with the value suppressions.xml
and click “Next”.You can now import the Checkstyle configuration for the Java code formatter.
tools/maven/checkstyle.xml
located within your cloned repository.Then you could click “View” → “Tool Windows” → “Checkstyle” and find the “Check Module” button in the opened tool window to validate checkstyle. Or you can use the command mvn clean compile checkstyle:checkstyle
to validate.
If you find any bugs, feel free to file a GitHub issue or fix it by submitting a pull request.
Contact us through the following mailing list.
Name | Scope | |||
---|---|---|---|---|
dev@doris.apache.org | Development-related discussions | Subscribe | Unsubscribe | Archives |