Skip to content

feat: support float32 parameters in dbapi #1245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 4, 2024
Merged

feat: support float32 parameters in dbapi #1245

merged 3 commits into from
Dec 4, 2024

Conversation

olavloite
Copy link
Contributor

dbapi should not add an explicit type code when a parameter of type float is encountered. Instead, it should rely on Spanner to infer the correct type. This way, both FLOAT32 and FLOAT64 can be used with the Python float type.

Updates googleapis/python-spanner-sqlalchemy#409

dbapi should not add an explicit type code when a parameter of type
float is encountered. Instead, it should rely on Spanner to infer
the correct type. This way, both FLOAT32 and FLOAT64 can be used with
the Python float type.

Updates googleapis/python-spanner-sqlalchemy#409
@olavloite olavloite requested review from a team as code owners December 2, 2024 16:22
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Dec 2, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner API. label Dec 2, 2024
@olavloite olavloite requested a review from bhatt4982 December 2, 2024 16:25
@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 4, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 4, 2024
@olavloite olavloite enabled auto-merge (squash) December 4, 2024 13:08
@olavloite olavloite merged commit 829b799 into main Dec 4, 2024
13 of 15 checks passed
@olavloite olavloite deleted the float32-dbapi branch December 4, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy