You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It's well-known that SQLite is loosey-goosey with type handling. In particular, it doesn't really support decimal / numeric.
A recent PR introduced a dedicated decimal.Decimal type into the codebase. However, even using that type, SQLite exhibits intermittent undesired behavior on Windows: it sometimes returns a decimal value as a REAL/float, but not with the correct (round) value. E.g. see this pipeline.
This happens intermittently on the GH windows runner. Usually re-running the job will result in the correct value. However, those intermittently failing tests are currently deliberately skipped. To reproduce, unskip the tests.
Expected behavior
The exact decimal/numeric value should be returned every time.
sq version
This happens on master pipeline, intermittently.
The text was updated successfully, but these errors were encountered:
Describe the bug
It's well-known that SQLite is loosey-goosey with type handling. In particular, it doesn't really support decimal / numeric.
A recent PR introduced a dedicated
decimal.Decimal
type into the codebase. However, even using that type, SQLite exhibits intermittent undesired behavior on Windows: it sometimes returns a decimal value as a REAL/float, but not with the correct (round) value. E.g. see this pipeline.To Reproduce
This happens intermittently on the GH windows runner. Usually re-running the job will result in the correct value. However, those intermittently failing tests are currently deliberately skipped. To reproduce, unskip the tests.
Expected behavior
The exact decimal/numeric value should be returned every time.
sq
versionThis happens on
master
pipeline, intermittently.The text was updated successfully, but these errors were encountered: