spanner/spansql: The table name within ALTER DATABASE
statement should be escaped with backquote
#5972
Labels
api: spanner
Issues related to the Spanner API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
Client
Cloud Spanner
Environment
Go playground
Go Environment
(This is the environment of my PC, not Go playground)
Code
https://go.dev/play/p/dqrlf-0YbE6
Expected behavior
Output a valid SQL statement.
Actual behavior
Output an invalid SQL statement.
The table name with hyphens should be escaped with backquotes.
Screenshots
The text was updated successfully, but these errors were encountered: