Skip to content
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

spanner: Allow RENAME TABLE and ALTER TABLE ... RENAME TO in the parser #9226

Closed
killah777 opened this issue Jan 5, 2024 · 0 comments · Fixed by #9275
Closed

spanner: Allow RENAME TABLE and ALTER TABLE ... RENAME TO in the parser #9226

killah777 opened this issue Jan 5, 2024 · 0 comments · Fixed by #9275
Assignees
Labels
api: spanner Issues related to the Spanner API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@killah777
Copy link
Contributor

killah777 commented Jan 5, 2024

Is your feature request related to a problem? Please describe.

The go client currently rejects RENAME TABLE ... TO and ALTER TABLE ... RENAME TO, but Spanner will soon support the syntax.
In addition, SYNONYM will also be supported for graceful table renaming. This adds DDL statements such as CREATE TABLE (... SYNONYM (name)), ALTER TABLE ... ADD SYNONYM ..., and ALTER TABLE ... DROP SYNONYM ....

Describe the solution you'd like
Allow RENAME TABLE ... TO, ALTER TABLE ... RENAME TO, CREATE TABLE (... SYNONYM (name)), ALTER TABLE ... ADD SYNONYM ..., and ALTER TABLE ... DROP SYNONYM ... in the ddl parser.

Describe alternatives you've considered
N/A

Additional context
N/A

@killah777 killah777 added the triage me I really want to be triaged. label Jan 5, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Jan 5, 2024
@noahdietz noahdietz added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed triage me I really want to be triaged. labels Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants