We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Docs on ALTER DATABASE https://cloud.google.com/spanner/docs/data-definition-language#alter-database Code similar to https://github.com/googleapis/java-spanner/blob/9132c21e9ea94f0e2ceea3f9ad5c4461ffa6796e/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITPitrUpdateDatabaseTest.java
ALTER DATABASE `database_name` SET OPTIONS (version_retention_period = '1d')
produces
Unexpected statement: alter_database_statement
ALTER DATABASE statement is being low-level parsed https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/blob/master/backend/schema/parser/ddl_parser.jjt#L298 but isn't handled anywhere
Would be nice to have support for those DDL statements, or at least have them listed in https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/blob/master/README.md#features-and-limitations
The text was updated successfully, but these errors were encountered:
Also not supported for createDatabase with extra ddl statements parameter.
Sorry, something went wrong.
also running into this. would be great if the emulator supported ALTER DATABASE
ALTER DATABASE
Thanks @dmivankov for filing the request. We are tracking the enhancement with the internal development team and will get back with the timelines.
Do you mean create db + ddl statements not working?
jin-jj
No branches or pull requests
Docs on ALTER DATABASE https://cloud.google.com/spanner/docs/data-definition-language#alter-database
Code similar to https://github.com/googleapis/java-spanner/blob/9132c21e9ea94f0e2ceea3f9ad5c4461ffa6796e/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITPitrUpdateDatabaseTest.java
produces
ALTER DATABASE statement is being low-level parsed https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/blob/master/backend/schema/parser/ddl_parser.jjt#L298
but isn't handled anywhere
Would be nice to have support for those DDL statements, or at least have them listed in https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/blob/master/README.md#features-and-limitations
The text was updated successfully, but these errors were encountered: