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

SQL Alchemy driver returns nan for null values #41

Open
sneakyaneurysm opened this issue Jun 30, 2023 · 1 comment
Open

SQL Alchemy driver returns nan for null values #41

sneakyaneurysm opened this issue Jun 30, 2023 · 1 comment

Comments

@sneakyaneurysm
Copy link

If a Dremio query through the SQL Alcheny driver returns a null value, the outcome from the driver is actually NaN, which is not useful for many operations.

@yi-lightup
Copy link

The example query is:
select null, CAST( 'nan' as float)

The result on Dremio official UI is null and NaN:
image

But sqlalchemy-dremio returns:
[{'EXPR$0': nan, 'EXPR$1': nan}]

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

2 participants