ClickHouse函數整理(詳細)

一、日期類函數 1.1 時間或日期截取函數(to)—— 返回非日期 函數 用途 舉例 結果 toYear() 取日期或時間日期的年份 toYear(toDateTime(‘2018-12-11 11:12:13’)) toYear(toDate(‘2018-12-11’)) 返回 2018 返回 2018 toMonth() 取日期或時間日期的月份 toMonth(toDateTime(‘2018
相關文章
相關標籤/搜索