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`
1.9 KiB
1.9 KiB
title, language
| title | language |
|---|---|
| CANCEL-LOAD | en |
CANCEL-LOAD
Name
CANCEL LOAD
Description
This statement is used to undo an import job for the specified label. Or batch undo import jobs via fuzzy matching
CANCEL LOAD
[FROM db_name]
WHERE [LABEL = "load_label" | LABEL like "label_pattern"];
Example
-
Cancel the import job whose label is
example_db_test_load_labelon the database example_dbCANCEL LOAD FROM example_db WHERE LABEL = "example_db_test_load_label"; -
Cancel all import jobs containing example* on the database example*db.
CANCEL LOAD FROM example_db WHERE LABEL like "example_";
Keywords
CANCEL, LOAD
Best Practice
- Only pending import jobs in PENDING, ETL, LOADING state can be canceled.
- When performing batch undo, Doris does not guarantee the atomic undo of all corresponding import jobs. That is, it is possible that only some of the import jobs were successfully undone. The user can view the job status through the SHOW LOAD statement and try to execute the CANCEL LOAD statement repeatedly.