Try to fix flaky test

This commit is contained in:
Robert Schulze 2024-06-07 14:22:23 +00:00
parent 9920c3d17f
commit a12fec7f41
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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;