ClickHouse/tests/queries/0_stateless/01942_snowflakeIDToDateTime.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
564 B
Plaintext
Raw Normal View History

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