[Doc] Modify doc for replace table (#5536)
This commit is contained in:
@ -53,7 +53,7 @@ Suppose you want to replace table A with table B, and `swap` is `true`, the oper
|
||||
1. Rename table B to table A.
|
||||
2. Rename table A to table B.
|
||||
|
||||
If `swap` is `true`, the operation is as follows:
|
||||
If `swap` is `false`, the operation is as follows:
|
||||
|
||||
1. Drop table A.
|
||||
2. Rename table B to table A.
|
||||
|
||||
@ -54,7 +54,7 @@ ALTER TABLE [db.]tbl1 REPLACE WITH TABLE tbl2
|
||||
1. 将表 B 重名为表 A。
|
||||
2. 将表 A 重名为表 B。
|
||||
|
||||
如果 `swap` 为 `true`,则操作如下:
|
||||
如果 `swap` 为 `false`,则操作如下:
|
||||
|
||||
1. 删除表 A。
|
||||
2. 将表 B 重名为表 A。
|
||||
|
||||
Reference in New Issue
Block a user