Skip to content

FLOAT32 Support #409

@vwrs

Description

@vwrs

Please update the dictionary for data type mapping.

Environment details

  • Programming language: python
  • OS: macOS
  • Language runtime version: 3.11.5
  • Package version:
    • sqlalchemy: 2.0.31
    • sqlalchemy-spanner: 1.7.0

Steps to reproduce

  1. Create table which contains FLOAT32 data type
  2. Reflect database objects
from sqlalchemy import create_engine, MetaData

engine = create_engine(
    "spanner+spanner:///projects/PROJECT/instances/INSTANCE/databases/DB"
)

metadata = MetaData()
metadata.reflect(engine)  # KeyError: 'FLOAT32'

This update is crucial for maintaining consistency and accuracy across our systems.

Thanks!

Metadata

Metadata

Labels

api: spannerIssues related to the googleapis/python-spanner-sqlalchemy API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions