ClickHouse/tests/queries/0_stateless/01566_negate_formatting.reference
2021-03-26 20:29:41 +03:00

21 lines
452 B
Plaintext

-- { echo }
explain syntax select negate(1), negate(-1), - -1, -(-1), (-1) in (-1);
SELECT
-1,
1,
1,
1,
-1 IN (-1)
explain syntax select negate(1.), negate(-1.), - -1., -(-1.), (-1.) in (-1.);
SELECT
-1.,
1,
1,
1,
-1. IN (-1.)
explain syntax select negate(-9223372036854775808), -(-9223372036854775808), - -9223372036854775808;
SELECT
-9223372036854775808,
-9223372036854775808,
-9223372036854775808