daichirata / hammer

🛠 hammer is a command-line tool to schema management for Google Cloud Spanner.
MIT License
84 stars 25 forks source link

Follow cloud.google.com/go/spanner v1.2.0 and later #10

Closed naoina closed 4 years ago

naoina commented 4 years ago

Since cloud.google.com/go/spanenr v1.2.0, the signature of ParseDDL has been changed. Also since v1.2.1, Position field was added to some struct such as CreateIndex, so building hammer has been failed and tests failed. This Pull-request fixes to work well on cloud.google.com/go/spanner v1.2.0 and later.

daichirata commented 4 years ago

I apologize for the delay in replying.

Thank you so much for fixing this problem!