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/spansql: support IF NOT EXISTS in DDL parsing #8236

Closed
marcusthelin opened this issue Jul 10, 2023 · 0 comments · Fixed by #8245
Closed

spanner/spansql: support IF NOT EXISTS in DDL parsing #8236

marcusthelin opened this issue Jul 10, 2023 · 0 comments · Fixed by #8245
Assignees
Labels
api: spanner Issues related to the Spanner API. triage me I really want to be triaged.

Comments

@marcusthelin
Copy link

Client
spanner/spansql

Environment

N/A

Go Environment

N/A

Code

N/A

Expected behavior
spansql.ParseDDL should support statements like CREATE TABLE IF NOT EXISTS since that is now supported in Spanner.

Actual behavior

Error is being thrown:

got "NOT" while expecting "("
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. triage me I really want to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants