databendlabs/databend
View on GitHubFeature: Support Date & Timestamp Construction functions
Open
#19,435 opened on Feb 10, 2026
C-featuregood first issue
Repository metrics
- Stars
- (9,314 stars)
- PR merge metrics
- (Avg merge 4d 18h) (99 merged PRs in 30d)
Description
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