关于日志示例问题的疑惑
Open
@3AceShowHand is already working on this.
Since May 31, 2024.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 1.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 31
Description
File: /release-8.1/ticdc/ticdc-open-protocol.md
- [partition=0] [key="{"ts":415508881418485761,"scm":"test","tbl":"t1","t":1}"] [value="{"u":{"id":{"t":3,"h":true,"v":3},"val":{"t":15,"v":"ZGQ="}}}"]
Log11 是 UPDATE test.t1 SET val = 'dd' WHERE id = 3; 语句产生的日志,它是更新的; 为什么 value 的对象中没有出现 "p":{"id":{"t":3,"h":true,"v":3},"val":{"t":15,"v":"Y2M="}}
参考:https://docs.pingcap.com/zh/tidb/stable/ticdc-open-protocol#row-changed-event
Update 事件,输出新增的行数据 ("u") 以及修改前的行数据 ("p")。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.