Skip to content

Commit

Permalink
change lightning conflict resolution ignore (#18641) (#18645)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Sep 14, 2024
1 parent c712778 commit 369e573
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"` | 保留旧数据,忽略新数据 | `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 369e573

Please sign in to comment.