cloudstorage: make all DateSeparator fields use the enum instead of string - #6078
cloudstorage: make all DateSeparator fields use the enum instead of string#6078kennytm wants to merge 1 commit into
Conversation
…tring Assisted-by: codex:gpt-5.6-sol
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (16)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change replaces string date separators with the typed ChangesDate separator configuration contract
Cloud storage typed path handling
Consumer separator propagation
Cloud sink cleanup and tests
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change standardizes DateSeparator handling to use the shared enum and adds related unit-test updates; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Description checkExplanation The description includes the required issue reference, change summary, test checklist, compatibility and documentation answers, and release note. The stated tests should be verified because the objectives indicate that only unit tests were added. ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
|
Please add a manual test 🙏🏻 |
|
Manual test (not integration test yes?): make cdc
tiup playground-ng v8.5.7 --db 1 --kv 1 --pd 1 --tiflash 0 --ticdc 1 --ticdc.binpath ./bin/cdc --ticdc.config ./ticdc-newarch.toml --without-monitor
./bin/cdc cli changefeed create -c test5854 --sink-uri 's3://test5854/?endpoint=http://127.0.0.1:9000&protocol=canal-json&access-key=minioadmin&secret-access-key=minioadmin' --config ./test5854.toml
mysql -u root -h 127.0.0.1 -P 4000 test
# create table a (a bigint primary key);
# insert into a values (4);The file is created at |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wk989898 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/check-issue-triage-complete |
What problem does this PR solve?
Issue Number: close #6077
What is changed and how it works?
Changes all places that uses the DateSeparator expecting a string to the common enum
config.DateSeparatorso case-sensitivity no longer appears.Check List
Tests
Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
Summary by CodeRabbit