Conversation
Add the seven UnReservedKeyword tokens that scripts/check-keywords.py reports as missing on master: ALERT, AUTO, FAST, IMMEDIATE, MATERIALIZED, OPERATE, and TRANSITIONS. Each entry is inserted in its alphabetical position and left unmarked, since all seven are alternatives of the UnReservedKeyword rule in pkg/parser/parser.y.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
Hi @sary8. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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 kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingcap/docs/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe TiDB keyword list now includes ChangesKeyword documentation
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other · Severity of issue fixed: Low 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
What is changed, added, or deleted? (Required)
Add the
ALERT,AUTO,FAST,IMMEDIATE,MATERIALIZED,OPERATE, andTRANSITIONSnon-reserved keywords tokeywords.mdso it matches the current TiDB parser. All seven are defined asUnReservedKeywordinpkg/parser/parser.y, andscripts/check-keywords.pypasses with them added.Fixes #23846, closes #23750, and closes #23670. The last two are earlier runs of the same weekly check.
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
None of the seven keywords is in the
release-8.5parser, and the weekly check reports that branch as passing, so no cherry-pick label is added.What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
ALERT,AUTO,FAST,IMMEDIATE,MATERIALIZED,OPERATE, andTRANSITIONS.