ClickHouse/tests/queries/0_stateless/01942_snowflakeIDToDateTime.reference
2024-06-07 11:16:46 +00:00

28 lines
564 B
Plaintext

-- Negative tests
-- Return type
DateTime
DateTime64(3)
-- Non-const path
Row 1:
──────
sf: 7204436857747984384
dt: 2024-06-06 10:59:58
dt64: 2024-06-06 10:59:58.851
Row 1:
──────
sf: 1426981498778550272
dt: 2021-08-15 18:57:56
dt64: 2021-08-15 18:57:56.000
Row 1:
──────
sf: 7204436857747984384
dt: 2024-06-06 18:59:58
dt64: 2024-06-06 18:59:58.851
-- Const path
Row 1:
──────
sf: 7204436857747984384
dt: 2024-06-06 10:59:58
dt64: 2024-06-06 10:59:58.851
-- Can be combined with generateSnowflakeID