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
I don't think it's unreasonable to expect some sort of intelligent autocasting...
Flink SQL> select avg(c) from tiny;
+----+-------------+
| op | EXPR$0 |
+----+-------------+
| +I | 49 |
+----+-------------+
Received a total of 1 row
Flink SQL> select avg(cast(c as float)) from tiny;
+----+--------------------------------+
| op | EXPR$0 |
+----+--------------------------------+
| +I | 49.5 |
+----+--------------------------------+
Received a total of 1 row
Flink SQL> select stddev(c) from tiny;
+----+-------------+
| op | EXPR$0 |
+----+-------------+
| +I | 23 |
+----+-------------+
Flink SQL> select stddev(cast(c as float)) from tiny;
+----+--------------------------------+
| op | EXPR$0 |
+----+--------------------------------+
| +I | 23.334524 |
+----+--------------------------------+
Received a total of 1 row
The text was updated successfully, but these errors were encountered:
I don't think it's unreasonable to expect some sort of intelligent autocasting...
The text was updated successfully, but these errors were encountered: