cloudspannerecosystem / yo

yo is a command-line tool to generate Go code for Google Cloud Spanner.
MIT License
312 stars 50 forks source link

Allow SQL containing unsupported DDL #126

Closed 5n7 closed 1 year ago

5n7 commented 1 year ago

This PR changes to allow SQL containing unsupported DDL. Currently, any DDL other than CREATE TABLE, CREATE INDEX, and ALTER TABLE are not allowed, but other DDL in Cloud Spanner such as CREATE CHANGE STREAM should be allowed. As the memefish has supported the statement (https://github.com/cloudspannerecosystem/memefish/pull/58), this PR upgrades the library and follows some changes.