This is the root cause of this Spanner Emulator bug: https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/issues/73 Even though external contributions are not accepted, I submitted the PR with my fix suggestion