feat: add decimal/numeric support#620
Conversation
chore: add a Code of Conduct (googleapis#604)
fix: lint_setup_py was failing in Kokoro is now fixed (googleapis#607)
fix: Remove un necessary file from code base (googleapis#608)
feat: move migrations test modules to run against different emulator …
feat: update workflow files to uniformly distribute the test modules …
feat: update docs and nox file to compile it (googleapis#610)
larkee
left a comment
There was a problem hiding this comment.
Overall LGTM. My only concern is that the precision and scale of the Cloud Spanner NUMERIC should be clearly documented as I believe other databases support arbitrary precision NUMERIC.
38f030e to
3d014ae
Compare
c24t
left a comment
There was a problem hiding this comment.
Can we un-skip the django DecimalField tests now?
python django_tests/django/tests/runtests.py 'model_fields.test_decimalfield.DecimalFieldTests'
I see failures in test_fetch_from_db_without_float_rounding and test_fetch_from_db_without_float_rounding, probably worth checking if these are real errors here and only skipping the tests we need to.
Looks like we can revert #400 now too.
LGTM after getting the django tests to pass (or skipping if impossible) and splitting out the system tests.
61e63f7 to
489f1c2
Compare
c24t
left a comment
There was a problem hiding this comment.
Do you need to update DatabaseValidation for the tests to run?
removed validation for decimal field not supported by spanner. |
most of these tests are currently running. The 2 skipped ones we cant add back because Spanner doesn't support them. Checked. Reverted #400 . |
… thrown by python spanner decimal/numeric validation
…into decimal_numeric
…ation is not required
…jango into decimal_numeric
|
Workflows had issues yesterday Incident link so had to close and reopen the PR multiple times to retry all the actions. |
c24t
left a comment
There was a problem hiding this comment.
A few non-blocking comments, feel free to merge it when you're ready.
…level in test_lookups
feat: added decimal/numeric support
Code changes involved:
fixes #617