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

Module update needed (Cloud Spanner parsing issue) #842

Closed
toga4 opened this issue Oct 27, 2022 · 0 comments · Fixed by #843
Closed

Module update needed (Cloud Spanner parsing issue) #842

toga4 opened this issue Oct 27, 2022 · 0 comments · Fixed by #843

Comments

@toga4
Copy link
Contributor

toga4 commented Oct 27, 2022

Is your feature request related to a problem? Please describe.
Parsing fails when trying to migrate to Spanner DB with generated columns:

deletableTime TIMESTAMP AS (IF(deletable, created, NULL)) STORED,

outputs:

error: :9: got "(" while expecting ")"

Describe the solution you'd like
Update go modules: cloud.google.com/go/spanner.

Checking out the source and running:

go get -u cloud.google.com/go/spanner
go mod tidy

After that change, migrate can be applied without error.

Describe alternatives you've considered
Current workaround is to clone project and update dependencies locally.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant