[Doc] Modify doc for replace table (#5536)

This commit is contained in:
Mingyu Chen
2021-03-23 09:36:11 +08:00
committed by GitHub
parent 71b6e93424
commit c8afd5646c
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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。