mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
25 lines
703 B
SQL
25 lines
703 B
SQL
-- 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
|