Open kagamiori opened 3 months ago
Query:
SELECT INVERSE_NORMAL_CDF( 0.99995478457003, 0.4660736045334488, INVERSE_BETA_CDF( 0.99995478457003, ATAN2(0.3869894868694246, EXP(c0)), 0.99995478457003 ) ) FROM ( VALUES (0.11456725979223847) ) t(c0);
Presto-0.289: Throws an exception "inverseNormalCdf Function: p must be 0 > p > 1". Velox: Returns 4.435685217513072.
No response
INVERSE_BETA_CDF should always return a value in [0, 1]. Apparently a bug in Java (also WTF is 0 > p > 1?!!).
INVERSE_BETA_CDF
0 > p > 1
Description
Query:
Presto-0.289: Throws an exception "inverseNormalCdf Function: p must be 0 > p > 1". Velox: Returns 4.435685217513072.
Error Reproduction
No response
Relevant logs
No response