Skip to content

Add TimestampNano Literal - #3853

Open
rambleraptor wants to merge 2 commits into
apache:mainfrom
rambleraptor:timestamp-ns-literals
Open

Add TimestampNano Literal#3853
rambleraptor wants to merge 2 commits into
apache:mainfrom
rambleraptor:timestamp-ns-literals

Conversation

@rambleraptor

@rambleraptor rambleraptor commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Rationale for this change

We need to introduce a set of literals in order to make timestamp_ns and timestamptz_ns actually useful.

I'm purposefully matching the Java implementation whenever possible. This is particularly important for potential overflows, since Java overflows more aggressively than Python does.

Are these changes tested?

Included unit tests.

Are there any user-facing changes?

@rambleraptor rambleraptor changed the title Add TimestampNs Literal Add TimestampNano Literal Aug 26, 2026
@rambleraptor
rambleraptor marked this pull request as ready for review August 31, 2026 19:55
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.

1 participant