We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened:
SELECT -0.0 FROM <table> brings different results, when using CPU and GPU.
What you expected to happen:
It is the same result, when using CPU and GPU.
Minimal Complete Verifiable Example:
import pandas as pd import dask.dataframe as dd from dask_sql import Context c = Context() df0 = pd.DataFrame({ 'c0': [0], }) t0 = dd.from_pandas(df0, npartitions=1) c.create_table('t0', t0, gpu=False) c.create_table('t0_gpu', t0, gpu=True) print('CPU Result:') result1 = c.sql("SELECT -0.0 FROM t0").compute() print(result1) print('GPU Result:') result2 = c.sql("SELECT -0.0 FROM t0_gpu").compute() print(result2)
Result:
CPU Result: Float64(-0) 0 -0.0 GPU Result: Float64(-0) 0 0.0
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered:
The issue has been fixed in Dask-sql version 2024.5.0, and you can try again to confirm it. Thanks for @qwebug!
Sorry, something went wrong.
No branches or pull requests
What happened:
SELECT -0.0 FROM <table> brings different results, when using CPU and GPU.
What you expected to happen:
It is the same result, when using CPU and GPU.
Minimal Complete Verifiable Example:
Result:
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: