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

beta_cdf: Presto throws while Velox returns 0.0 #12346

Open
peterenescu opened this issue Feb 14, 2025 · 0 comments
Open

beta_cdf: Presto throws while Velox returns 0.0 #12346

peterenescu opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Feb 14, 2025

Description

beta_cdf fails for Presto but succeeds during Velox run.

Reproduction

(Presto followed by Velox)

presto:di> SELECT beta_cdf(radians(tan(DOUBLE '0.892799505032599')), pow(BIGINT '1854246852699105340', BIGINT '3477880598050324438'), DOUBLE '0.8121838567312807');
Query 20250214_230249_10797_358es failed: illegal state: Continued fraction diverged to NaN for value 0.812

presto:di> SELECT beta_cdf(radians(tan(c0)), pow(c1, c2), c3) from (values (DOUBLE '0.892799505032599', BIGINT '1854246852699105340', BIGINT '3477880598050324438', DOUBLE '0.8121838567312807')) t(c0,c1,c2, c3);
 _col0                
-------
   0.0 
(1 row)
presto:di> 

Relevant logs

Additional queries nested in the above beta_cdf call.

presto:di> select radians(tan(DOUBLE '0.892799505032599'));
        _col0         
----------------------
 0.021671589214596408 
(1 row)
presto:di> select pow(BIGINT '1854246852699105340', BIGINT '3477880598050324438');
  _col0               
----------
 Infinity 
(1 row)
@peterenescu peterenescu added bug Something isn't working fuzzer Issues related the to Velox fuzzer test components. fuzzer-found and removed fuzzer Issues related the to Velox fuzzer test components. fuzzer-found labels Feb 14, 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

2 participants