databendlabs/databend

Feature: Support Date & Timestamp Construction functions

Open

#19,435 建立於 2026年2月10日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)Rust (880 fork)github user discovery
C-featuregood first issue

倉庫指標

Star
 (9,314 star)
PR 合併指標
 (平均合併 4天 18小時) (30 天內合併 99 個 PR)

描述

Summary

Creates a date, timestamp, timestamp_tz from individual numeric components.

DATE_FROM_PARTS( <year>, <month>, <day> )
TIMESTAMP_FROM_PARTS( <year>, <month>, <day>, <hour>, <minute>, <second> [, <nanosecond> ] [, <time_zone> ] )
TIMESTAMP_TZ_FROM_PARTS( <year>, <month>, <day>, <hour>, <minute>, <second> [, <nanosecond>] [, <time_zone>] )
  • DATE_FROM_PARTS
  • TIMESTAMP_FROM_PARTS
  • TIMESTAMP_TZ_FROM_PARTS

reference https://docs.snowflake.com/en/sql-reference/functions/date_from_parts https://docs.snowflake.com/en/sql-reference/functions/timestamp_from_parts

貢獻者指南