-
Notifications
You must be signed in to change notification settings - Fork 285
ast string with quote identifier #22046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here. PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #16471
What this PR does / why we need it:
ast string with quote identifier
PR Type
Enhancement
Description
Add quote identifier formatting option for AST string output
Implement backtick quoting for table names and identifiers
Add test case for partition table with quoted identifiers
Changes walkthrough 📝
mysql_sql_test.go
Add quote identifier test case
pkg/sql/parsers/dialect/mysql/mysql_sql_test.go
TestQuoteIdentifer
for partition table SQLclause
format.go
Add quote identifier formatting option
pkg/sql/parsers/tree/format.go
quoteIdentifier
boolean field toFmtCtx
structWithQuoteIdentifer()
option functionidentifier.go
Implement identifier quoting in UnresolvedName
pkg/sql/parsers/tree/identifier.go
UnresolvedName.Format()
to support quote identifier optionquoteIdentifier
is enabledtable_name.go
Implement identifier quoting in TableName
pkg/sql/parsers/tree/table_name.go
TableName.Format()
to support quote identifier option