ClickHouse/tests/queries/0_stateless/01668_avg_weighted_ubsan.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

2 lines
126 B
MySQL
Raw Normal View History

2021-01-23 00:17:58 +00:00
SELECT round(avgWeighted(x, y)) FROM (SELECT 1023 AS x, 1000000000 AS y UNION ALL SELECT 10 AS x, -9223372036854775808 AS y);