ClickHouse/tests/queries/0_stateless/01733_transform_ubsan.sql

5 lines
307 B
MySQL
Raw Normal View History

2021-02-21 19:36:39 +00:00
SELECT arrayStringConcat(arrayMap(x -> transform(x, [1025, -9223372036854775808, 65537, 257, 1048576, 10, 7, 1048575, 65536], ['yandex', 'googlegooglegooglegoogle', 'test', '', '', 'hello', 'world', '', 'xyz'], ''), arrayMap(x -> (x % -inf), range(number))), '')
FROM system.numbers
LIMIT 1025
FORMAT Null;