[docs](truncate-table) load may fail when truncating table (#25793)

This commit is contained in:
Siyang Tang
2023-10-24 14:10:26 +08:00
committed by GitHub
parent 76fd566403
commit 51bc49a727
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ illustrate:
- Unlike DELETE, using this method to clear data will not affect query performance.
- The data deleted by this operation cannot be recovered.
- When using this command, the table status needs to be NORMAL, that is, operations such as SCHEMA CHANGE are not allowed.
- This command may cause the ongoing load to fail
### Example

View File

@ -46,6 +46,7 @@ TRUNCATE TABLE [db.]tbl[ PARTITION(p1, p2, ...)];
- 不同于 DELETE,使用该方式清空数据不会对查询性能造成影响。
- 该操作删除的数据不可恢复。
- 使用该命令时,表状态需为 NORMAL,即不允许正在进行 SCHEMA CHANGE 等操作。
- 该命令可能会导致正在进行的导入失败。
### Example