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

cbrt: Value mismatch between Presto and Velox #12551

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

cbrt: Value mismatch between Presto and Velox #12551

peterenescu opened this issue Mar 5, 2025 · 1 comment
Labels
bug Something isn't working fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Mar 5, 2025

Description

Value mismatch between Presto and Velox for function cbrt found by fuzzer.

Error Reproduction

Velox:

presto:di> SELECT cbrt(c0) from (values (0.7923892922699451)) t(c0);
       _col0        
--------------------
 0.9253645671870919

Presto:

presto> SELECT cbrt(c0) from (values (0.7923892922699451)) t(c0);
       _col0       
-------------------
 0.925364567187092
(1 row)
@peterenescu peterenescu added bug Something isn't working fuzzer-found labels Mar 5, 2025
@kagamiori
Copy link
Contributor

These two numbers are very close. Fuzzer should compare these two numbers with epsilon and consider them to be equal. Not sure whether fuzzer fails to do that. Could you share the original error log from fuzzer to help us understand what's wrong?

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-found
Projects
None yet
Development

No branches or pull requests

2 participants