You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Velox errors out with infinity as input for function chi_squared_cdf.
Reproduction
(Presto followed by Velox execution)
presto:di> SELECT chi_squared_cdf(ln(ceil(infinity())), 1);
_col0
-------
NaN
(1 row)
presto:di> SELECT chi_squared_cdf(ln(ceil(infinity())), c0) from (values (1) ) t(c0);
Query 20250213_230918_10525_zq2gf failed: Error in function boost::math::chi_squared_distribution<double>::chi_squared_distribution: Degrees of freedom argument is inf, but must be > 0 ! Top-level Expression: presto.default.chi_squared_cdf(Infinity:DOUBLE, cast((field) as DOUBLE))
The text was updated successfully, but these errors were encountered:
Bug description
Velox errors out with infinity as input for function
chi_squared_cdf
.Reproduction
(Presto followed by Velox execution)
The text was updated successfully, but these errors were encountered: