-
Notifications
You must be signed in to change notification settings - Fork 46
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
Doesn't support creating an empty array of structs #165
Comments
I too ran into this. The same query works against gcloud Spanner but fails with |
I was able to work around my specific problem by doing the following, YMMV
This seemed to be the only way I could get both production spanner and the emulator to not complain and produce the same results. Other things I had tried were
|
…truct according to the behaviour in realworld Spanner fix: GoogleCloudPlatform#165
I wrote the patch to fix this issue. |
We're getting the following error:
The same query runs fine outside of the emulator.
Simple reproduction:
Our query needs to initialize an empty array as part of a
coalesce
for it to type check, otherwise we get the following error (outside of the emulator):The text was updated successfully, but these errors were encountered: