Skip to content

Commit

Permalink
chore: returns nan for aggregate_kurtosis and aggregate_skewness
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Oct 25, 2024
1 parent b95ec44 commit 4d7dc5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,12 @@ select skewness (10) from numbers(5)
query I
select skewness(number), kurtosis(number) from (select if(number > 5, number::double, 'NAN'::Double) as number from numbers(100));
----
nan nan
NaN NaN

query I
select skewness(number), kurtosis(number) from (select if(number > 5, number::double, 'INF'::Double) as number from numbers(100));
----
nan nan
NaN NaN

query III
select skewness(k), skewness(v), skewness(v2) from aggr
Expand Down

0 comments on commit 4d7dc5b

Please sign in to comment.