Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/connectors/sink/Databend.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ They can be downloaded via install-plugin.sh or from the Maven central repositor
| url | String | Yes | - | Databend JDBC connection URL. It must start with `jdbc:databend://` |
| username | String | Yes | - | Databend database username |
| password | String | Yes | - | Databend database password |
| database | String | No | - | Databend database name (together with `table`) that locates the target table to write |
| database | String | No | - | Databend database name (together with `table`) that locates the target table to write. No default is applied when unset |
| table | String | No | - | Databend table name |
| batch_size | Integer | No | 1000 | Number of records for batch writing |
| auto_commit | Boolean | No | true | Whether to auto-commit transactions |
Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/sink/Hudi.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Note: When this configuration corresponds to a single table, you can flatten the

### op_type [enum]

`op_type` The operation type of hudi table. The value is `insert` or `upsert` or `bulk_insert`.
`op_type` The operation type of hudi table. The value is `INSERT`, `UPSERT`, or `BULK_INSERT`.

### batch_interval_ms [Int]

Expand Down
4 changes: 2 additions & 2 deletions docs/en/connectors/sink/Jdbc.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ If one dialect not supported by SeaTunnel, it will use the default dialect `Gene
| SqlServer | Tablestore | Teradata |
| Vertica | OceanBase | XUGU |
| IRIS | Inceptor | Highgo |
| DSQL | | |
| YashanDB | CockroachDB | |
| OpenGauss | Presto | Dsql |
| DuckDB | YashanDB | CockroachDB |
### database [string]

The target database or catalog used in generated SQL mode. This option is required when `generate_sink_sql = true` and must not be combined with `query`.
Expand Down
8 changes: 5 additions & 3 deletions docs/en/connectors/sink/Snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ Write data to Snowflake through JDBC. The sink supports batch and streaming jobs
| INT<br/>INTEGER | INT |
| BIGINT | LONG |
| DECIMAL<br/>NUMERIC<br/>NUMBER<br/> | DECIMAL(p, s) |
| DECIMAL(p, s) (with `p > 38`) | DECIMAL(38, 18) |
| DECIMAL(p, s) (with `p > 38`) | DECIMAL(38, s - (p - 38)) (minimum scale 0) |
| REAL<br/>FLOAT4 | FLOAT |
| DOUBLE<br/>DOUBLE PRECISION<br/>FLOAT8<br/>FLOAT | DOUBLE |
| CHAR<br/>CHARACTER<br/>VARCHAR<br/>STRING<br/>TEXT<br/>VARIANT<br/>OBJECT | STRING |
| DATE | DATE |
| TIME | TIME |
| DATETIME<br/>TIMESTAMP<br/>TIMESTAMP_LTZ<br/>TIMESTAMP_NTZ<br/>TIMESTAMP_TZ | TIMESTAMP |
| BINARY<br/>VARBINARY<br/>GEOGRAPHY<br/>GEOMETRY | BYTES |
| DATETIME<br/>TIMESTAMP<br/>TIMESTAMP_NTZ | TIMESTAMP |
| TIMESTAMP_LTZ<br/>TIMESTAMP_TZ | TIMESTAMP_TZ |
| BINARY<br/>VARBINARY | BYTES |
| GEOGRAPHY<br/>GEOMETRY | STRING |

## Sink Options

Expand Down
11 changes: 5 additions & 6 deletions docs/en/connectors/source/Snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@ Read data from Snowflake through JDBC. SeaTunnel uses the official Snowflake JDB
| INT<br/>INTEGER | INT |
| BIGINT | LONG |
| DECIMAL<br/>NUMERIC<br/>NUMBER<br/> | DECIMAL(p, s) |
| DECIMAL(p, s) (with `p > 38`) | DECIMAL(38, 18) |
| REAL<br/>FLOAT4 | FLOAT |
| DOUBLE<br/>DOUBLE PRECISION<br/>FLOAT8<br/>FLOAT | DOUBLE |
| CHAR<br/>CHARACTER<br/>VARCHAR<br/>STRING<br/>TEXT<br/>VARIANT<br/>OBJECT | STRING |
| DATE | DATE |
| TIME | TIME |
| DATETIME<br/>TIMESTAMP<br/>TIMESTAMP_LTZ<br/>TIMESTAMP_NTZ<br/>TIMESTAMP_TZ | TIMESTAMP |
| DATETIME<br/>TIMESTAMP<br/>TIMESTAMP_NTZ | TIMESTAMP |
| TIMESTAMP_LTZ<br/>TIMESTAMP_TZ | TIMESTAMP_TZ |
| BINARY<br/>VARBINARY | BYTES |
| GEOGRAPHY (WKB or EWKB)<br/>GEOMETRY (WKB or EWKB) | BYTES |
| GEOGRAPHY (GeoJSON, WKT or EWKT)<br/>GEOMETRY (GeoJSON, WKB or EWKB) | STRING |
| GEOGRAPHY<br/>GEOMETRY | STRING |

## Source Options

Expand All @@ -64,7 +63,7 @@ Read data from Snowflake through JDBC. SeaTunnel uses the official Snowflake JDB
| driver | String | Yes | - | JDBC driver class name. Use `net.snowflake.client.jdbc.SnowflakeDriver` for Snowflake. |
| username | String | No | - | Username for the Snowflake account. |
| password | String | No | - | Password for the Snowflake account. |
| query | String | Yes | - | SELECT statement used to read data. The column list of the SELECT defines the output schema; select only the columns you need. |
| query | String | No | - | SELECT statement used to read data. Required when neither `table_path` nor `table_list` is configured. The column list of the SELECT defines the output schema; select only the columns you need. |
| connection_check_timeout_sec | Int | No | 30 | Seconds to wait for the connection check before failing. |
| partition_column | String | No | - | Column used to split data for parallel reading. Supports numeric columns and string columns (with `split.string_split_mode`); only one column can be configured. |
| partition_lower_bound | String | No | - | Lower bound of `partition_column` for range splitting. If not set, SeaTunnel queries the minimum value. |
Expand Down Expand Up @@ -151,7 +150,7 @@ source {
- Use the `Jdbc` plugin name for Snowflake jobs and set `driver = "net.snowflake.client.jdbc.SnowflakeDriver"`.
- Place the Snowflake JDBC driver jar in `$SEATUNNEL_HOME/plugins/jdbc/lib/` before running the job.
- When reading in parallel, `partition_column`, `partition_lower_bound`, `partition_upper_bound`, and `partition_num` must describe the same numeric column range.
- Snowflake geospatial columns are returned as bytes or string depending on Snowflake JDBC URL parameters such as `GEOGRAPHY_OUTPUT_FORMAT`.
- Snowflake geospatial columns are mapped to the SeaTunnel `STRING` type.

## Changelog

Expand Down
4 changes: 2 additions & 2 deletions docs/en/engines/zeta/checkpoint-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ seatunnel:
namespace: # checkpoint storage parent path, the default value is /seatunnel/checkpoint/
storage.type: hdfs
fs.defaultFS: hdfs://localhost:9000
// if you used kerberos, you can config like this:
# if you used kerberos, you can config like this:
kerberosPrincipal: your-kerberos-principal
kerberosKeytabFilePath: your-kerberos-keytab
// if you need hdfs-site config, you can config like this:
# if you need hdfs-site config, you can config like this:
hdfs_site_path: /path/to/your/hdfs_site_path
```

Expand Down
2 changes: 1 addition & 1 deletion docs/en/engines/zeta/hybrid-cluster-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ mkdir -p $SEATUNNEL_HOME/logs
./bin/seatunnel-cluster.sh -d
```

The logs will be written to `$SEATUNNEL_HOME/logs/seatunnel-engine-server.log`
The logs will be written to `$SEATUNNEL_HOME/logs/` — for the default master-and-worker deployment this is `seatunnel-engine-server.log`

## 8. Submit And Manage Jobs

Expand Down
7 changes: 4 additions & 3 deletions docs/en/engines/zeta/log-analysis-with-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ When logs are mixed, use the `ST-JID` value to select one job. For example:

```shell
JOB_ID=<job-id>
grep -F "[${JOB_ID}]" "$SEATUNNEL_HOME/logs/seatunnel-engine-server.log" > job.log
# seatunnel-engine-server.log (hybrid); seatunnel-engine-master.log / -worker.log (separated)
grep -hF "[${JOB_ID}]" "$SEATUNNEL_HOME"/logs/seatunnel-engine-*.log > job.log
```

If per-job routing is enabled, inspect `job-<job-id>.log`. In a multi-node Zeta cluster, collect
Expand All @@ -65,12 +66,12 @@ REST endpoints:
```text
GET http://<master-host>:8080/logs/<job-id>
GET http://<master-host>:8080/logs?format=json
GET http://<node-host>:5801/log
GET http://<node-host>:8080/log
```

The first endpoint retrieves matching logs across Zeta nodes. The last endpoint reads logs from
one node. A configured context path or dynamic HTTP port changes these URLs. See
[RESTful API V2](rest-api-v2.md#get-logs-from-all-nodes) for the complete behavior.
[RESTful API V2](rest-api-v2.md#get-log-content-from-a-single-node) for the complete behavior.

For Kubernetes, preserve logs from all relevant master and worker pods. Start with the failure
window and include previous container logs when a pod restarted:
Expand Down
2 changes: 1 addition & 1 deletion docs/en/engines/zeta/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ the [REST-API](rest-api-v2.md).

### Scheduled deletion of old logs

SeaTunnel supports scheduled deletion of old log files to prevent disk space exhaustion. You can add the following configuration in the `seatunnel.yml` file:
SeaTunnel supports scheduled deletion of old log files to prevent disk space exhaustion. You can add the following configuration in the `seatunnel.yaml` file:

```yaml
seatunnel:
Expand Down
2 changes: 1 addition & 1 deletion docs/en/engines/zeta/resource-isolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SeaTunnel can add `tag` to each worker node, when you submit job you can use `ta

2. add `tag_filter` to your job config

```hacon
```hocon
env {
parallelism = 1
job.mode = "BATCH"
Expand Down
Loading
Loading