[docs](truncate-table) load may fail when truncating table (#25793)
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -46,6 +46,7 @@ TRUNCATE TABLE [db.]tbl[ PARTITION(p1, p2, ...)];
|
||||
- 不同于 DELETE,使用该方式清空数据不会对查询性能造成影响。
|
||||
- 该操作删除的数据不可恢复。
|
||||
- 使用该命令时,表状态需为 NORMAL,即不允许正在进行 SCHEMA CHANGE 等操作。
|
||||
- 该命令可能会导致正在进行的导入失败。
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user