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

贡献者指南