Skip to content

Commit

Permalink
Update tidb-lightning/tidb-lightning-logical-import-mode-usage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd authored and ti-chi-bot committed Sep 14, 2024
1 parent 8718bc4 commit 90ee750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidb-lightning/tidb-lightning-logical-import-mode-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TiDB Lightning 的完整配置文件可参考[完整配置及命令行参数](/t
| 策略 | 冲突时默认行为 | 对应 SQL 语句 |
|:---|:----------------------------|:---|
| `"replace"` | 新数据替代旧数据 | `REPLACE INTO ...` |
| `"ignore"` | 保留旧数据,忽略新数据 | 如果 `conflict.threshold` 大于 `0`,则为 `INSERT INTO ...`。如果 `conflict.threshold``0`,则为 `INSERT IGNORE INTO ...` |
| `"ignore"` | 保留旧数据,忽略新数据 | 如果 `conflict.threshold` 大于 `0`,则为 `INSERT INTO ...`。如果 `conflict.threshold``0`,则为 `INSERT IGNORE INTO ...` |
| `"error"` | 遇到冲突数据时终止导入 | `INSERT INTO ...` |
| `""` | 会被转换为 `"error"`,遇到冲突数据时终止导入 ||

Expand Down

0 comments on commit 90ee750

Please sign in to comment.