This is an automated email from the ASF dual-hosted git repository.
wanghailin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new e4f666f7d1 [CI] add code style check when docs changed (#5183)
e4f666f7d1 is described below
commit e4f666f7d1a506ce85ec1834e35ddc2009ad0587
Author: Tyrantlucifer <[email protected]>
AuthorDate: Mon Jul 31 10:05:23 2023 +0800
[CI] add code style check when docs changed (#5183)
---
.github/workflows/documents.yml | 11 +++++++++++
docs/en/connector-v2/sink/Doris.md | 4 ++--
docs/en/connector-v2/source/Hudi.md | 2 +-
3 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/documents.yml b/.github/workflows/documents.yml
index 3a97a3a7de..7c3c56cf07 100644
--- a/.github/workflows/documents.yml
+++ b/.github/workflows/documents.yml
@@ -52,3 +52,14 @@ jobs:
cd seatunnel-website
npm install
npm run build
+
+ code-style:
+ name: Code style
+ runs-on: ubuntu-latest
+ timeout-minutes: 10
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: true
+ - name: Check code style
+ run: ./mvnw --batch-mode --quiet --no-snapshot-updates clean
spotless:check
diff --git a/docs/en/connector-v2/sink/Doris.md
b/docs/en/connector-v2/sink/Doris.md
index 506cb7f248..6bf8dc5369 100644
--- a/docs/en/connector-v2/sink/Doris.md
+++ b/docs/en/connector-v2/sink/Doris.md
@@ -32,7 +32,7 @@ Version Supported
## Sink Options
-| Name | Type | Required | Default | Description
|
+| Name | Type | Required | Default |
Description
|
|---------------------|--------|----------|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| fenodes | String | Yes | - | `Doris` cluster
fenodes address, the format is `"fe_ip:fe_http_port, ..."`
|
| username | String | Yes | - | `Doris` user username
|
@@ -49,7 +49,7 @@ Version Supported
## Data Type Mapping
-| Doris Data type | SeaTunnel Data type |
+| Doris Data type | SeaTunnel Data type |
|-----------------|-----------------------------------------|
| BOOLEAN | BOOLEAN |
| TINYINT | TINYINT |
diff --git a/docs/en/connector-v2/source/Hudi.md
b/docs/en/connector-v2/source/Hudi.md
index b70d34608e..ffe17f7de7 100644
--- a/docs/en/connector-v2/source/Hudi.md
+++ b/docs/en/connector-v2/source/Hudi.md
@@ -39,7 +39,7 @@ In order to use this connector, You must ensure your
spark/flink cluster already
## Source Options
-| Name | Type | Required | Default |
Description
|
+| Name | Type | Required | Default |
Description
|
|-------------------------|--------|------------------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| table.path | String | Yes | - |
The hdfs root path of hudi table,such as
'hdfs://nameserivce/data/hudi/hudi_table/'.
|
| table.type | String | Yes | - |
The type of hudi table. Now we only support 'cow', 'mor' is not support yet.
|