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
dev=> create table t(p_col double, grp_col int);
CREATE_TABLE
dev=> select round(sum(p_col), 2) from t;
ERROR: Failed to run the query
Caused by these errors (recent errors listed first):
1: Failed to bind expression: round(sum(p_col), 2)
2: function round_digit(double precision, integer) does not exist
dev=> select round(sum(p_col)::numeric, 2) from t;
round
-------
(1 row)
To be compatible with pg. https://www.postgresql.org/docs/current/functions-math.html
The text was updated successfully, but these errors were encountered: