mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Try to fix flaky test
This commit is contained in:
parent
9920c3d17f
commit
a12fec7f41
@ -22,8 +22,8 @@ dateTime64ToSnowflakeID(dt64_4): 6832747190385901568
|
||||
-- Idempotency
|
||||
Row 1:
|
||||
──────
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_0)), dt64_0): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_1)), dt64_1): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_2)), dt64_2): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_3)), dt64_3): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_4)), dt64_4): 0
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_0), 0, 'UTC'), dt64_0): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_1), 0, 'UTC'), dt64_1): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_2), 0, 'UTC'), dt64_2): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_3), 0, 'UTC'), dt64_3): 1
|
||||
equals(snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_4), 0, 'UTC'), dt64_4): 0
|
||||
|
@ -62,10 +62,10 @@ WITH
|
||||
now64(3) AS dt64_3,
|
||||
now64(4) AS dt64_4
|
||||
SELECT
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_0)) == dt64_0,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_1)) == dt64_1,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_2)) == dt64_2,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_3)) == dt64_3,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_4)) == dt64_4
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_0), 0, 'UTC') == dt64_0,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_1), 0, 'UTC') == dt64_1,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_2), 0, 'UTC') == dt64_2,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_3), 0, 'UTC') == dt64_3,
|
||||
snowflakeIDToDateTime64(dateTime64ToSnowflakeID(dt64_4), 0, 'UTC') == dt64_4
|
||||
FORMAT
|
||||
Vertical;
|
||||
|
Loading…
Reference in New Issue
Block a user