spanner: Allow RENAME TABLE
and ALTER TABLE ... RENAME TO
in the parser
#9226
Labels
api: spanner
Issues related to the Spanner API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
The go client currently rejects
RENAME TABLE ... TO
andALTER 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 asCREATE TABLE (... SYNONYM (name))
,ALTER TABLE ... ADD SYNONYM ...
, andALTER 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 ...
, andALTER TABLE ... DROP SYNONYM ...
in the ddl parser.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: