test: add test case in debezium protocol#5606
Conversation
📝 WalkthroughWalkthroughUpdated the tp_time table test fixture in data.sql: added a c_txt column with corresponding insert statement updates, appended an ALTER TABLE adding c_newcol, and added an extra empty-row insert to exercise null datetime value handling. Changestp_time test data update
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the integration test data in tests/integration_tests/debezium_basic/data/data.sql by adding a new column c_txt to the tp_time table, updating existing insert statements, and appending an ALTER TABLE statement to add another column c_newcol. The review feedback suggests formatting improvements to maintain consistency, specifically using lowercase for default null and adding a missing space in one of the insert statements.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| c_timestamp timestamp null, | ||
| c_time time null, | ||
| c_year year null, | ||
| c_txt varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, |
| insert into tp_time(c_date, c_datetime, c_timestamp, c_time, c_year) | ||
| values ('2020-02-20', '2020-02-20 02:20:20', '2020-02-20 02:20:20', '02:20:20', '2020'); | ||
| insert into tp_time(c_date, c_datetime, c_timestamp, c_time, c_year, c_txt) | ||
| values ('2020-02-20', '2020-02-20 02:20:20', '2020-02-20 02:20:20', '02:20:20', '2020','cc'); |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3AceShowHand, lidezhu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
@wk989898: You cannot manually add or delete the cherry pick branch category labels. It will be added automatically by bot when the PR is created. DetailsIn response to adding label named type/cherry-pick-for-release-nextgen-202603. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/retest |
|
In response to a cherrypick label: new pull request created to branch |
|
/cherry-pick release-nextgen-202603 |
|
@wk989898: new pull request created to branch DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
* init Signed-off-by: wk989898 <nhsmwk@gmail.com> * update Signed-off-by: wk989898 <nhsmwk@gmail.com> * update Signed-off-by: wk989898 <nhsmwk@gmail.com> --------- Signed-off-by: wk989898 <nhsmwk@gmail.com> Co-authored-by: wk989898 <nhsmwk@gmail.com>
What problem does this PR solve?
Issue Number: close #5605
What is changed and how it works?
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Summary by CodeRabbit