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

inverse_weibull_cdf: value mismatch Presto returns infinity and Velox returns real #12550

Open
peterenescu opened this issue Mar 5, 2025 · 0 comments
Labels
bug Something isn't working fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Mar 5, 2025

Description

Value mismatch between Presto/Velox. Presto appears to handle infinity correctly.

Error Reproduction

presto> SELECT inverse_weibull_cdf((infinity() - (c0 + cosh(c1))), asin(DOUBLE '0.5646822957787663'), sqrt(ceiling(c2))) from (values (0.24525619437918067, 0.9423456590157002, 0.5297509685624391)) t(c0, c1, c2);
  _col0   
----------
 Infinity 

presto:di> SELECT inverse_weibull_cdf((infinity() - (c0 + cosh(c1))), asin(DOUBLE '0.5646822957787663'), sqrt(ceiling(c2))) from (values (0.24525619437918067, 0.9423456590157002, 0.5297509685624391)) t(c0, c1, c2);
       _col0          
-------------------
 0.600048250724079 
(1 row)
@peterenescu peterenescu added bug Something isn't working fuzzer-found labels Mar 5, 2025
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

1 participant