-
Notifications
You must be signed in to change notification settings - Fork 28
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
django: integer division produces a float result, which can't be assigned to an integer column #331
Comments
… INT64 columns' limitation refs googleapis#331
I'll document this limitation. Should we leave the issue open after that? Is it possible that Spanner would remove this restriction in a future release? |
… INT64 columns' limitation refs googleapis#331
… INT64 columns' limitation refs googleapis#331
… INT64 columns' limitation refs googleapis#331
Adding support to this would have serious performance impacts of this. In addition, real Spanner supports non-typed parameters, and the missing support for non-typed parameters for some type (DATE and TIMESTAMP) in the emulator is considered a bug: GoogleCloudPlatform/cloud-spanner-emulator#31 |
e.g.
Number.objects.filter(pk=self.n.pk).update(integer=F('integer') / 2, float=F('float') / 42.7)
Traceback:
The text was updated successfully, but these errors were encountered: