Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
ClickHouse 中 Date32 数据类型的文档;与 Date 相比,它支持更大的日期范围
1900-01-01
1970-01-01
Date32
CREATE TABLE dt32 ( `timestamp` Date32, `event_id` UInt8 ) ENGINE = TinyLog;
-- 解析日期 -- - 从字符串, -- - 从"小"整数(解释为自 1970-01-01 起的天数),以及 -- - 从"大"整数(解释为自 1970-01-01 起的秒数)。 INSERT INTO dt32 VALUES ('2100-01-01', 1), (47482, 2), (4102444800, 3); SELECT * FROM dt32;
┌──timestamp─┬─event_id─┐ │ 2100-01-01 │ 1 │ │ 2100-01-01 │ 2 │ │ 2100-01-01 │ 3 │ └────────────┴──────────┘
此页面对您有帮助吗?