Fix time zone in test

This commit is contained in:
Pavel Kruglov 2021-08-12 11:58:47 +03:00
parent 80eaea1c51
commit dc8e1be96b
20 changed files with 43 additions and 43 deletions

View File

@ -939,66 +939,66 @@
1970-01-01
1970-01-01
1970-01-01
1970-01-01 03:00:00
1970-01-01 08:33:20
1970-01-01 11:20:00
1970-01-01 14:06:40
1970-01-01 16:53:20
1970-01-01 16:53:20
1970-01-01 22:26:40
1970-01-02 01:13:20
1970-01-02 04:00:00
1970-01-02 06:46:40
1970-01-02 06:46:40
1970-01-02 12:20:00
1970-01-02 15:06:40
1970-01-02 17:53:20
1970-01-02 20:40:00
1970-01-02 20:40:00
1970-01-03 02:13:20
1970-01-03 05:00:00
1970-01-03 07:46:40
1970-01-03 10:33:20
1970-01-01 03:00:00
1970-01-01 00:00:00
1970-01-01 05:33:20
1970-01-01 08:20:00
1970-01-01 11:06:40
1970-01-01 13:53:20
1970-01-01 13:53:20
1970-01-01 19:26:40
1970-01-01 22:13:20
1970-01-02 01:00:00
1970-01-02 03:46:40
1970-01-02 03:46:40
1970-01-02 09:20:00
1970-01-02 12:06:40
1970-01-02 14:53:20
1970-01-02 17:40:00
1970-01-02 17:40:00
1970-01-02 23:13:20
1970-01-03 02:00:00
1970-01-03 04:46:40
1970-01-03 07:33:20
1970-01-01 00:00:00
\N
\N
\N
\N
1970-01-01 16:53:20
1970-01-01 13:53:20
\N
\N
\N
\N
1970-01-02 06:46:40
1970-01-02 03:46:40
\N
\N
\N
\N
1970-01-02 20:40:00
1970-01-02 17:40:00
\N
\N
\N
\N
\N
1970-01-01 05:46:40
1970-01-01 08:33:20
1970-01-01 11:20:00
1970-01-01 14:06:40
1970-01-01 02:46:40
1970-01-01 05:33:20
1970-01-01 08:20:00
1970-01-01 11:06:40
\N
1970-01-01 19:40:00
1970-01-01 22:26:40
1970-01-02 01:13:20
1970-01-02 04:00:00
1970-01-01 16:40:00
1970-01-01 19:26:40
1970-01-01 22:13:20
1970-01-02 01:00:00
\N
1970-01-02 09:33:20
1970-01-02 12:20:00
1970-01-02 15:06:40
1970-01-02 17:53:20
1970-01-02 06:33:20
1970-01-02 09:20:00
1970-01-02 12:06:40
1970-01-02 14:53:20
\N
1970-01-02 23:26:40
1970-01-03 02:13:20
1970-01-03 05:00:00
1970-01-03 07:46:40
1970-01-02 20:26:40
1970-01-02 23:13:20
1970-01-03 02:00:00
1970-01-03 04:46:40
0.00000
2.00000
3.00000

View File

@ -68,9 +68,9 @@ select if(number % 5 == 0, toDateOrZero(toString(number)), toDateOrZero(toString
select if(number % 5 == 0, toDateOrZero(toString(number)), Null) from numbers(20);
select if(number % 5 == 0, Null, toDateOrZero(toString(number))) from numbers(20);
select if(number % 5 == 0, toDateTimeOrZero(toString(number * 10000)), toDateTimeOrZero(toString((number + 1) * 10000))) from numbers(20);
select if(number % 5 == 0, toDateTimeOrZero(toString(number * 10000)), Null) from numbers(20);
select if(number % 5 == 0, Null, toDateTimeOrZero(toString(number * 10000))) from numbers(20);
select if(number % 5 == 0, toDateTimeOrZero(toString(number * 10000), 'UTC'), toDateTimeOrZero(toString((number + 1) * 10000), 'UTC')) from numbers(20);
select if(number % 5 == 0, toDateTimeOrZero(toString(number * 10000), 'UTC'), Null) from numbers(20);
select if(number % 5 == 0, Null, toDateTimeOrZero(toString(number * 10000), 'UTC')) from numbers(20);
select if(number % 5 == 0, toDecimal32OrZero(toString(number), 5), toDecimal32OrZero(toString(number + 1), 5)) from numbers(20);
select if(number % 5 == 0, toDecimal32OrZero(toString(number), 5), Null) from numbers(20);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.