Update 01566_negate_formatting expectations

This commit is contained in:
Azat Khuzhin 2021-06-15 10:47:08 +03:00
parent 9242654231
commit 70df1536a2

View File

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