databendlabs/databend

Feature: Support Date & Timestamp Construction functions

Open

#19 435 ouverte le 10 févr. 2026

Voir sur GitHub
 (2 commentaires) (0 réactions) (1 assigné)Rust (880 forks)github user discovery
C-featuregood first issue

Métriques du dépôt

Stars
 (9 314 stars)
Métriques de merge PR
 (Merge moyen 4j 18h) (99 PRs mergées en 30 j)

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

Guide contributeur