GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — float value cannot be used to insert data to NUMERIC field. · Issue #315 · googleapis/python-spanner
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
float value cannot be used to insert data to NUMERIC field. #315Copy link Copy link Labels api: spannerIssues related to the googleapis/python-spanner API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionFloat data type is mapped to float: spanner.param_types.FLOAT64 Link. We need to add support to map decimal.Decimal type in python to Numeric type in spanner. Environment details
Steps to reproduce
Code examplesql='INSERT INTO t (x) VALUES (%s)', params=[3.194387483193242e+19] Thanks! Activity
MetadataMetadataAssigneesLabelsapi: spannerIssues related to the googleapis/python-spanner API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |