mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
modify test
This commit is contained in:
parent
878e0ed26b
commit
a9711c4bec
@ -2,8 +2,7 @@
|
||||
<create_query>CREATE TABLE test1(d DateTime) ENGINE Memory</create_query>
|
||||
<create_query>CREATE TABLE test2(d DateTime64) ENGINE Memory</create_query>
|
||||
<fill_query>INSERT INTO test1 SELECT toDateTime('2023-03-16 11:22:33') + number from numbers(10000000)</fill_query>
|
||||
<fill_query>INSERT INTO test2 SELECT toDateTime64('2023-03-16 11:22:33', 3) + number from numbers(10000000);</fill_query>
|
||||
|
||||
<fill_query>INSERT INTO test2 SELECT toDateTime64('2023-03-16 11:22:33', 3) + number from numbers(10000000)</fill_query>
|
||||
|
||||
<query tag="ToUtcTimestampDateTime">select count(1) from test1 where to_utc_timestamp(d, 'Etc/GMT+1') > '1990-01-01 12:00:00' SETTINGS max_threads=1</query>
|
||||
<query tag="FromUtcTimestampDateTime">select count(1) from test1 where from_utc_timestamp(d, 'Etc/GMT+1') > '1990-01-01 12:00:00' SETTINGS max_threads=1</query>
|
||||
|
Loading…
Reference in New Issue
Block a user