Skip to content

java.lang.Double not automatically converted #243

@phwhite-coh

Description

@phwhite-coh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions