mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
25 lines
703 B
MySQL
25 lines
703 B
MySQL
|
-- https://github.com/ClickHouse/ClickHouse/issues/41470
|
||
|
SELECT
|
||
|
roundBankers(100),
|
||
|
-9223372036854775808,
|
||
|
roundBankers(result.2, 256)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT studentTTest(sample, variant) AS result
|
||
|
FROM
|
||
|
(
|
||
|
SELECT
|
||
|
toFloat64(number) % NULL AS sample,
|
||
|
0 AS variant
|
||
|
FROM system.numbers
|
||
|
LIMIT 1025
|
||
|
UNION ALL
|
||
|
SELECT
|
||
|
(toFloat64(number) % 9223372036854775807) + nan AS sample,
|
||
|
-9223372036854775808 AS variant
|
||
|
FROM system.numbers
|
||
|
LIMIT 1024
|
||
|
)
|
||
|
)
|
||
|
FORMAT CSV
|