Skip to content

Support extended date and time types - #103

Merged
vgvoleg merged 4 commits into
ydb-platform:mainfrom
catsona:patch-1
Sep 21, 2026
Merged

vgvoleg merged 4 commits into
ydb-platform:mainfrom
catsona:patch-1

Conversation

@catsona

@catsona catsona commented Jan 28, 2026 •

Copy link
Copy Markdown
Contributor

Support all YDB extended date and time types.

  • Add a native YqlInterval64 type with datetime.timedelta bind/result processing and literal compilation.
  • Preserve Date32, Datetime64, Timestamp64, and Interval64 during reflection.
  • Document the extended date and time mappings.

Add missing types to COLUMN_TYPES
@catsona catsona changed the title Add UUID and Interval64 to COLUMN_TYPES Add Interval64 to COLUMN_TYPES Jan 28, 2026
@catsona catsona changed the title Add Interval64 to COLUMN_TYPES Add UUID and Interval64 to COLUMN_TYPES Jan 28, 2026
Reason: SA 1.4 does not have UUID, but 2.0 has UUID
@catsona catsona changed the title Add UUID and Interval64 to COLUMN_TYPES Add Interval64 to COLUMN_TYPES Jan 28, 2026
vgvoleg
vgvoleg previously requested changes Feb 2, 2026

@vgvoleg vgvoleg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @catsona ! Thanks for contribution!
If you want to add Interval64 support, you should also add a type with correct processors.

@vgvoleg vgvoleg changed the title Add Interval64 to COLUMN_TYPES Support extended date and time types Sep 21, 2026
@vgvoleg
vgvoleg dismissed their stale review September 21, 2026 08:03

Addressed by adding YqlInterval64 with bind/result processors and full extended date/time coverage.

@vgvoleg
vgvoleg merged commit 0ab80f4 into ydb-platform:main Sep 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants