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

Version Retention #115

Closed
GCP-ally opened this issue May 10, 2021 · 1 comment · Fixed by #116
Closed

Version Retention #115

GCP-ally opened this issue May 10, 2021 · 1 comment · Fixed by #116

Comments

@GCP-ally
Copy link

I'm unable to import from a spanner-dump file. Spanner-cli throws and error when it tries to run the first block
ALTER DATABASE `example-db` SET OPTIONS ( version_retention_period = '7d' ); ); id STRING(1024), ) PRIMARY KEY(id);

@yfuruyama
Copy link
Collaborator

Thank you for reporting the issue.

ALTER DATABASE is not supported yet in spanner-cli, so that would be the reason it causes an error.

Let me fix spanner-cli to support ALTER DATABASE clause.

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.

2 participants