databendlabs/databend
Auf GitHub ansehenFeature: Support Date & Timestamp Construction functions
Open
#19.435 geöffnet am 10. Feb. 2026
C-featuregood first issue
Repository-Metriken
- Stars
- (9.314 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 4T 18h) (99 gemergte PRs in 30 T)
Beschreibung
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