After this PR #9272, the `docs/build_help_zip.sh` will run failed. This PR fix this issue. But the help module still has some parse problem, I will fix it in next PR. This CL mainly changes: 1. fix `docs/build_help_zip.sh` error 2. remove `sql-reference-v2` to `sql-reference` 3. modify build extension github action to run `docs/build_help_zip.sh`
2.8 KiB
2.8 KiB
title, language
| title | language |
|---|---|
| ALTER-ROUTINE-LOAD | en |
ALTER-ROUTINE-LOAD
Name
ALTER ROUTINE LOAD
Description
This syntax is used to modify an already created routine import job.
Only jobs in the PAUSED state can be modified.
grammar:
ALTER ROUTINE LOAD FOR [db.]job_name
[job_properties]
FROM data_source
[data_source_properties]
-
[db.]job_nameSpecifies the job name to modify.
-
tbl_nameSpecifies the name of the table to be imported.
-
job_propertiesSpecifies the job parameters that need to be modified. Currently, only the modification of the following parameters is supported:
desired_concurrent_numbermax_error_numbermax_batch_intervalmax_batch_rowsmax_batch_sizejsonpathsjson_rootstrip_outer_arraystrict_modetimezonenum_as_stringfuzzy_parse
-
data_sourceThe type of data source. Currently supports:
KAFKA
-
data_source_propertiesRelevant properties of the data source. Currently only supports:
kafka_partitionskafka_offsetskafka_broker_listkafka_topic- Custom properties, such as
property.group.id
Note:
kafka_partitionsandkafka_offsetsare used to modify the offset of the kafka partition to be consumed, only the currently consumed partition can be modified. Cannot add partition.
Example
-
Change
desired_concurrent_numberto 1ALTER ROUTINE LOAD FOR db1.label1 PROPERTIES ( "desired_concurrent_number" = "1" ); -
Modify
desired_concurrent_numberto 10, modify the offset of the partition, and modify the group id.ALTER ROUTINE LOAD FOR db1.label1 PROPERTIES ( "desired_concurrent_number" = "10" ) FROM kafka ( "kafka_partitions" = "0, 1, 2", "kafka_offsets" = "100, 200, 100", "property.group.id" = "new_group" );
Keywords
ALTER, ROUTINE, LOAD