mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Update 01566_negate_formatting expectations
This commit is contained in:
parent
9242654231
commit
70df1536a2
@ -1,34 +1,34 @@
|
||||
-- { echo }
|
||||
explain syntax select negate(1), negate(-1), - -1, -(-1), (-1) in (-1);
|
||||
SELECT
|
||||
-1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
-(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.),
|
||||
-(-1.),
|
||||
-(-1.),
|
||||
-(-1.),
|
||||
-1. IN (-1.)
|
||||
explain syntax select negate(-9223372036854775808), -(-9223372036854775808), - -9223372036854775808;
|
||||
SELECT
|
||||
-9223372036854775808,
|
||||
-9223372036854775808,
|
||||
-9223372036854775808
|
||||
-(-9223372036854775808),
|
||||
-(-9223372036854775808),
|
||||
-(-9223372036854775808)
|
||||
explain syntax select negate(0), negate(-0), - -0, -(-0), (-0) in (-0);
|
||||
SELECT
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
-(0),
|
||||
-(0),
|
||||
-(0),
|
||||
-(0),
|
||||
0 IN (0)
|
||||
explain syntax select negate(0.), negate(-0.), - -0., -(-0.), (-0.) in (-0.);
|
||||
SELECT
|
||||
-0.,
|
||||
0.,
|
||||
0.,
|
||||
0.,
|
||||
-(0.),
|
||||
-(-0.),
|
||||
-(-0.),
|
||||
-(-0.),
|
||||
-0. IN (-0.)
|
||||
|
Loading…
Reference in New Issue
Block a user