Skip to content
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

java.lang.Double not automatically converted #243

Open
phwhite-coh opened this issue Apr 6, 2024 · 0 comments
Open

java.lang.Double not automatically converted #243

phwhite-coh opened this issue Apr 6, 2024 · 0 comments

Comments

@phwhite-coh
Copy link

Running 1.2.3
I'm selecting from a Spark table with a column of type double. When I check the 'description' property of the cursor, I see this type for the column:
DBAPITypeObject('FLOAT', 'REAL', 'DOUBLE')

When I get the data from the cursor the class is "java.lang.Double".

Shouldn't this automatically convert to a Python float? String types are converting automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant