Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

FLOAT32 Support #409

Copy link
Copy link
Closed
Closed
Copy link
@vwrs

Description

@vwrs
Issue body actions

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.Issues related to the googleapis/python-spanner-sqlalchemy API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error 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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.