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

power: Velox and Presto have value mismatch #12557

Open
peterenescu opened this issue Mar 5, 2025 · 1 comment
Open

power: Velox and Presto have value mismatch #12557

peterenescu opened this issue Mar 5, 2025 · 1 comment
Labels
bug Something isn't working fuzzer Issues related the to Velox fuzzer test components. fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Mar 5, 2025

Description

Velox and Presto value mismatch for function power.

Error Reproduction

Velox

presto:di> select power(c0,c1) from (values (11,62)) t(c0, c1);
        _col0         
----------------------
 3.684227838451159E64

Presto

presto> select power(c0,c1) from (values (11,62)) t(c0, c1);
         _col0         
-----------------------
 3.6842278384511587E64 
@peterenescu peterenescu added bug Something isn't working fuzzer Issues related the to Velox fuzzer test components. fuzzer-found labels Mar 5, 2025
@pedroerp
Copy link
Contributor

pedroerp commented Mar 5, 2025

is this just float/double precision issue? I know we have a special way of comparing doubles that adds a small delta to go around these problems.

Cc: @Yuhta @kagamiori

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzer Issues related the to Velox fuzzer test components. fuzzer-found
Projects
None yet
Development

No branches or pull requests

2 participants