ClickHouse has function toDateTime64() to convert string into DateTime64 data type.
Example from official documentation:
SELECT * FROM dt WHERE timestamp = toDateTime64('2019-01-01 00:00:00', 3, 'Europe/Moscow')
It takes 3 parameters:
- Date string
- Integer
- Timezone
But there is no info about the second parameter. What does it mean?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…