mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Make test 01852_cast_operator independent of timezone
This commit is contained in:
parent
701e2ffd79
commit
7fa24539b8
@ -13,7 +13,7 @@ SELECT CAST([1, 1 + 1, 1 + 2], \'Array(UInt32)\') AS c
|
||||
2010-10-10
|
||||
SELECT CAST(\'2010-10-10\', \'Date\') AS c
|
||||
2010-10-10 00:00:00
|
||||
SELECT CAST(\'2010-10-10\', \'DateTime\') AS c
|
||||
SELECT CAST(\'2010-10-10\', \'DateTime(\\\'UTC\\\')\') AS c
|
||||
['2010-10-10','2010-10-10']
|
||||
SELECT CAST(\'[\\\'2010-10-10\\\', \\\'2010-10-10\\\']\', \'Array(Date)\')
|
||||
3
|
||||
|
@ -19,8 +19,8 @@ EXPLAIN SYNTAX SELECT [1, 1 + 1, 1 + 2]::Array(UInt32) AS c;
|
||||
SELECT '2010-10-10'::Date AS c;
|
||||
EXPLAIN SYNTAX SELECT '2010-10-10'::Date AS c;
|
||||
|
||||
SELECT '2010-10-10'::DateTime AS c;
|
||||
EXPLAIN SYNTAX SELECT '2010-10-10'::DateTime AS c;
|
||||
SELECT '2010-10-10'::DateTime('UTC') AS c;
|
||||
EXPLAIN SYNTAX SELECT '2010-10-10'::DateTime('UTC') AS c;
|
||||
|
||||
SELECT ['2010-10-10', '2010-10-10']::Array(Date) AS c;
|
||||
EXPLAIN SYNTAX SELECT ['2010-10-10', '2010-10-10']::Array(Date);
|
||||
|
Loading…
Reference in New Issue
Block a user