Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Problem you have encountered:
GetDatabaseDdl
`<schema>.<table>`
when the<schema>
or<table>
is reserved keywords. Quoted identifiers with dot is not valid DDL identifier.What you expected to happen:
GetDatabaseDdl
must return only valid DDLs.Quote only a path element as like one of:
schema.table
schema.`table`
`schema`.table
`schema`.`table`
Steps to reproduce:
Reproduce using command group.
gcloud spanner databases ddl
It is not a valid DDL statement.
Other information (workarounds you have tried, documentation consulted, etc):
N/A