Skip to content

Commit e3d2572

Browse files
authored
[Doc] correct the document (apache#7099)
1 parent 9c273fc commit e3d2572

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/en/concept/config.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ sink {
248248
source_table_name = "sql"
249249
username = ${username}
250250
password = ${password}
251-
blankSpace = ${blankSpace}
252251
}
253252
}
254253
@@ -259,15 +258,14 @@ We can replace those parameters with this shell command:
259258

260259
```shell
261260
./bin/seatunnel.sh -c <this_config_file>
262-
-i jobName='st var job'
261+
-i jobName='this_is_a_job_name'
263262
-i resName=fake
264263
-i rowNum=10
265-
-i strTemplate=['abc','d~f','h i']
264+
-i strTemplate=['abc','d~f','hi']
266265
-i nameType=string
267266
-i nameVal=abc
268267
-i username=seatunnel=2.3.1
269268
-i password='$a^b%c.d~e0*9('
270-
-i blankSpace='2023-12-26 11:30:00'
271269
-e local
272270
```
273271

@@ -276,7 +274,7 @@ Then the final submitted config is:
276274
```hocon
277275
env {
278276
job.mode = "BATCH"
279-
job.name = "st var job"
277+
job.name = "this_is_a_job_name"
280278
parallelism = 2
281279
}
282280
@@ -309,14 +307,14 @@ sink {
309307
source_table_name = "sql"
310308
username = "seatunnel=2.3.1"
311309
password = "$a^b%c.d~e0*9("
312-
blankSpace = "2023-12-26 11:30:00"
313310
}
314311
}
315312
```
316313

317314
Some Notes:
318-
- quota with `'` if the value has space ` ` or special character (like `(`)
315+
- quota with `'` if the value has special character (like `(`)
319316
- if the replacement variables is in `"` or `'`, like `resName` and `nameVal`, you need add `"`
317+
- the value can't have space `' '`, like `-i jobName='this is a job name' `, this will be replaced to `job.name = "this"`
320318

321319
## What's More
322320

0 commit comments

Comments
 (0)